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.01026/0.01026, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001618/0.001618, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.402/0.402, allocations: 54.94 MB / 324.9 MB, free: 15.89 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.001411/0.001411, allocations: 69.91 kB / 456.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1383, allocations: 59.59 MB / 0.5037 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006139/0.1444, allocations: 3.27 MB / 0.5069 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.1446, allocations: 49.47 kB / 0.507 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.1446, allocations: 1.375 kB / 0.507 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1448, allocations: 0 / 0.507 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.1449, allocations: 18.66 kB / 0.507 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.1456, allocations: 170 kB / 0.5071 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1457, allocations: 34.97 kB / 0.5072 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.1458, allocations: 2.75 kB / 0.5072 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.1459, allocations: 14.8 kB / 0.5072 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.146, allocations: 14.86 kB / 0.5072 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.146, allocations: 0 / 0.5072 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.1465, allocations: 172.3 kB / 0.5074 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.1466, allocations: 5.359 kB / 0.5074 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.1466, allocations: 12.05 kB / 0.5074 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.147, allocations: 137.7 kB / 0.5075 GB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.147, allocations: 0 / 0.5075 GB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.147, allocations: 0 / 0.5075 GB, free: 6.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.147, allocations: 0 / 0.5075 GB, free: 6.602 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.0004313/0.1475, allocations: 343.8 kB / 0.5079 GB, free: 6.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.1475, allocations: 13.56 kB / 0.5079 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1476, allocations: 2.312 kB / 0.5079 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.1477, allocations: 160.4 kB / 0.508 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.1478, allocations: 41 kB / 0.5081 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1478, allocations: 4.312 kB / 0.5081 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.148, allocations: 47.25 kB / 0.5081 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.148, allocations: 0 / 0.5081 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.148, allocations: 1.375 kB / 0.5081 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1481, allocations: 5.312 kB / 0.5081 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.1481, allocations: 12.23 kB / 0.5081 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.1488, allocations: 0.5855 MB / 0.5087 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.1489, allocations: 19.95 kB / 0.5087 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.1489, allocations: 6.234 kB / 0.5087 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.1491, allocations: 338.3 kB / 0.509 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1492, allocations: 39.88 kB / 0.5091 GB, free: 4.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.1492, allocations: 0 / 0.5091 GB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.1494, allocations: 35.19 kB / 0.5091 GB, free: 4.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1494, allocations: 55.53 kB / 0.5092 GB, free: 4.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.1495, allocations: 99.36 kB / 0.5093 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.1495, allocations: 25.7 kB / 0.5093 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1495, allocations: 97.38 kB / 0.5094 GB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.1496, allocations: 1.375 kB / 0.5094 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1496, allocations: 16.47 kB / 0.5094 GB, free: 4.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.1497, allocations: 316.2 kB / 0.5097 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.1497, allocations: 6.734 kB / 0.5097 GB, free: 4.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.1497, allocations: 18.03 kB / 0.5097 GB, free: 4.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.1498, allocations: 23.28 kB / 0.5097 GB, free: 4.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1498, allocations: 1.344 kB / 0.5097 GB, free: 4.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.703e-05/0.1499, allocations: 50.31 kB / 0.5098 GB, free: 4.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1499, allocations: 5.812 kB / 0.5098 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1499, allocations: 96 / 0.5098 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.15, allocations: 8.672 kB / 0.5098 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.15, allocations: 5.125 kB / 0.5098 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.15, allocations: 4.953 kB / 0.5098 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.1501, allocations: 9.203 kB / 0.5098 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1501, allocations: 1.219 kB / 0.5098 GB, free: 4.012 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.807e-05/0.1502, allocations: 116.4 kB / 0.5099 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.1502, allocations: 1.312 kB / 0.5099 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.1503, allocations: 126.5 kB / 0.5101 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.1504, allocations: 177.5 kB / 0.5102 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-05/0.1504, allocations: 177.6 kB / 0.5104 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.1505, allocations: 188.2 kB / 0.5106 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1507, allocations: 408.6 kB / 0.511 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.1507, allocations: 104.9 kB / 0.5111 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.1507, allocations: 106.4 kB / 0.5112 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.562e-05/0.1508, allocations: 181.6 kB / 0.5113 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.1508, allocations: 188.9 kB / 0.5115 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.083e-05/0.1508, allocations: 177.4 kB / 0.5117 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-05/0.1509, allocations: 181.5 kB / 0.5119 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.151, allocations: 311.4 kB / 0.5122 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.151, allocations: 183.3 kB / 0.5123 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.1511, allocations: 181.5 kB / 0.5125 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1512, allocations: 107.5 kB / 0.5126 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1513, allocations: 185.5 kB / 0.5128 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1513, allocations: 110.3 kB / 0.5129 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.1513, allocations: 79.09 kB / 0.513 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1513, allocations: 0 / 0.513 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.1518, allocations: 40.23 kB / 0.513 GB, free: 0.5898 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.0003599/0.1522, allocations: 243.5 kB / 0.5132 GB, free: 396 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1523, allocations: 5.375 kB / 0.5132 GB, free: 396 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1523, allocations: 0 / 0.5132 GB, free: 396 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.1523, allocations: 1.094 kB / 0.5132 GB, free: 396 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.153, allocations: 470.8 kB / 0.5137 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.1534, allocations: 182.4 kB / 0.5139 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.1541, allocations: 0.6755 MB / 0.5145 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.1542, allocations: 8.031 kB / 0.5145 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1542, allocations: 12.72 kB / 0.5146 GB, free: 15.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1542, allocations: 0 / 0.5146 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Templates: time 0.00552/0.1597, allocations: 1.166 MB / 0.5157 GB, free: 14.09 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)