Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006917/0.006917, allocations: 101.5 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 196.6 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4324/0.4324, allocations: 54.94 MB / 324.8 MB, free: 15.86 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 70.03 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1437, allocations: 59.59 MB / 0.5037 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004384/0.1481, allocations: 3.28 MB / 0.5069 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 8.965e-05/0.1482, allocations: 46.86 kB / 0.507 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1483, allocations: 0 / 0.507 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1484, allocations: 0 / 0.507 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.1485, allocations: 22.66 kB / 0.507 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.149, allocations: 162 kB / 0.5071 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1491, allocations: 32.41 kB / 0.5072 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1492, allocations: 1.375 kB / 0.5072 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.1492, allocations: 24.16 kB / 0.5072 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.1493, allocations: 13.44 kB / 0.5072 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1494, allocations: 1.375 kB / 0.5072 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1497, allocations: 170.9 kB / 0.5074 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.1498, allocations: 10.72 kB / 0.5074 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.1498, allocations: 8.062 kB / 0.5074 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1501, allocations: 136.1 kB / 0.5075 GB, free: 6.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1501, allocations: 0 / 0.5075 GB, free: 6.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1501, allocations: 1.406 kB / 0.5075 GB, free: 6.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1501, allocations: 0 / 0.5075 GB, free: 6.629 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004305/0.1506, allocations: 342.8 kB / 0.5078 GB, free: 6.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1506, allocations: 9.656 kB / 0.5079 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1507, allocations: 2.281 kB / 0.5079 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.1508, allocations: 165.5 kB / 0.508 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/0.1508, allocations: 27.42 kB / 0.508 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1509, allocations: 1.75 kB / 0.508 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.151, allocations: 51.27 kB / 0.5081 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.151, allocations: 0 / 0.5081 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.151, allocations: 5 kB / 0.5081 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1511, allocations: 0.875 kB / 0.5081 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.1511, allocations: 17.92 kB / 0.5081 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.1517, allocations: 0.5991 MB / 0.5087 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.1518, allocations: 17.02 kB / 0.5087 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.1518, allocations: 6.078 kB / 0.5087 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.152, allocations: 345.2 kB / 0.5091 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.152, allocations: 35.78 kB / 0.5091 GB, free: 4.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.152, allocations: 0 / 0.5091 GB, free: 4.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001806/0.1522, allocations: 39.88 kB / 0.5091 GB, free: 4.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1523, allocations: 52.72 kB / 0.5092 GB, free: 4.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.1524, allocations: 101.8 kB / 0.5093 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1524, allocations: 27.14 kB / 0.5093 GB, free: 4.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.1524, allocations: 88.17 kB / 0.5094 GB, free: 4.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.1524, allocations: 1.344 kB / 0.5094 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1525, allocations: 17.47 kB / 0.5094 GB, free: 4.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.1526, allocations: 315.9 kB / 0.5097 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.1526, allocations: 6.828 kB / 0.5097 GB, free: 4.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.1526, allocations: 13.44 kB / 0.5097 GB, free: 4.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.1527, allocations: 27.69 kB / 0.5097 GB, free: 4.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1527, allocations: 0 / 0.5097 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.5e-05/0.1527, allocations: 51.56 kB / 0.5098 GB, free: 4.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1528, allocations: 4.969 kB / 0.5098 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1528, allocations: 0 / 0.5098 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1528, allocations: 1.344 kB / 0.5098 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.1529, allocations: 9.109 kB / 0.5098 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1529, allocations: 0 / 0.5098 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.1529, allocations: 4.906 kB / 0.5098 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1529, allocations: 6.031 kB / 0.5098 GB, free: 4.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/0.153, allocations: 119.8 kB / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.153, allocations: 1.094 kB / 0.5099 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.1532, allocations: 120.2 kB / 0.5101 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/0.1533, allocations: 177.3 kB / 0.5102 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.581e-05/0.1533, allocations: 177.2 kB / 0.5104 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/0.1533, allocations: 193.5 kB / 0.5106 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.1535, allocations: 404.3 kB / 0.511 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.1535, allocations: 104.9 kB / 0.5111 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.1536, allocations: 102.7 kB / 0.5112 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.405e-05/0.1536, allocations: 186 kB / 0.5113 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.1537, allocations: 192.2 kB / 0.5115 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/0.1537, allocations: 178 kB / 0.5117 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.888e-05/0.1537, allocations: 180.2 kB / 0.5119 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/0.1538, allocations: 309 kB / 0.5122 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1539, allocations: 186 kB / 0.5123 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.1539, allocations: 178.9 kB / 0.5125 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.154, allocations: 110.2 kB / 0.5126 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.1541, allocations: 178 kB / 0.5128 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1541, allocations: 110.9 kB / 0.5129 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.55e-05/0.1542, allocations: 86.05 kB / 0.513 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1542, allocations: 1.969 kB / 0.513 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00033/0.1545, allocations: 42.73 kB / 0.513 GB, free: 0.6133 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.1548, allocations: 235.2 kB / 0.5132 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.25e-05/0.1548, allocations: 9.969 kB / 0.5132 GB, free: 424 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1549, allocations: 0 / 0.5132 GB, free: 424 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1549, allocations: 1.094 kB / 0.5132 GB, free: 424 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1553, allocations: 467.3 kB / 0.5137 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.1556, allocations: 192.8 kB / 0.5139 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.156, allocations: 0.6742 MB / 0.5145 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.156, allocations: 7.203 kB / 0.5145 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1561, allocations: 10 kB / 0.5145 GB, free: 15.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1561, allocations: 0 / 0.5145 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Templates: time 0.003953/0.16, allocations: 1.158 MB / 0.5157 GB, free: 14.12 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)