Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008544/0.008544, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001928/0.001928, allocations: 196.8 kB / 16.67 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.634/1.634, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.382/0.382, allocations: 54.94 MB / 324.8 MB, free: 15.96 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.001499/0.001499, allocations: 71.8 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1254, allocations: 59.58 MB / 0.5037 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01594/0.1414, allocations: 12.93 MB / 0.5164 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.1446, allocations: 2.617 MB / 0.5189 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1448, allocations: 0 / 0.5189 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1452, allocations: 47.67 kB / 0.519 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.1455, allocations: 95.38 kB / 0.5191 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1468, allocations: 449.9 kB / 0.5195 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1471, allocations: 219.9 kB / 0.5197 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.1471, allocations: 17.55 kB / 0.5197 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.1572, allocations: 3.586 MB / 0.5232 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1575, allocations: 95.58 kB / 0.5233 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1575, allocations: 4 kB / 0.5233 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.1603, allocations: 1.038 MB / 0.5243 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1604, allocations: 35.89 kB / 0.5244 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1605, allocations: 79.66 kB / 0.5244 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.1612, allocations: 335.1 kB / 0.5248 GB, free: 5.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.1612, allocations: 8 kB / 0.5248 GB, free: 5.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1612, allocations: 0 / 0.5248 GB, free: 5.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1612, allocations: 0 / 0.5248 GB, free: 5.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007887/0.162, allocations: 0.4914 MB / 0.5252 GB, free: 4.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1621, allocations: 12.03 kB / 0.5253 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.1622, allocations: 20.75 kB / 0.5253 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1626, allocations: 216.1 kB / 0.5255 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1626, allocations: 16.7 kB / 0.5255 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1626, allocations: 16.31 kB / 0.5255 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.1631, allocations: 249.1 kB / 0.5258 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1631, allocations: 0 / 0.5258 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1631, allocations: 15.98 kB / 0.5258 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.1631, allocations: 7.938 kB / 0.5258 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.1636, allocations: 431.5 kB / 0.5262 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1647, allocations: 1.008 MB / 0.5272 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.165, allocations: 160.5 kB / 0.5273 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1651, allocations: 72.75 kB / 0.5274 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.1665, allocations: 1.829 MB / 0.5292 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1666, allocations: 38.56 kB / 0.5292 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1666, allocations: 0 / 0.5292 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003336/0.1669, allocations: 136.9 kB / 0.5293 GB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.167, allocations: 59.34 kB / 0.5294 GB, free: 12 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1672, allocations: 175.3 kB / 0.5296 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1672, allocations: 33.64 kB / 0.5296 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.1673, allocations: 135.8 kB / 0.5297 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.1673, allocations: 59.19 kB / 0.5298 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.1674, allocations: 53.61 kB / 0.5298 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1675, allocations: 322.8 kB / 0.5301 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.1676, allocations: 31.98 kB / 0.5302 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1678, allocations: 150.7 kB / 0.5303 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.168, allocations: 201.5 kB / 0.5305 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.168, allocations: 0 / 0.5305 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003157/0.1683, allocations: 213.1 kB / 0.5307 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1684, allocations: 8 kB / 0.5307 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1684, allocations: 4 kB / 0.5307 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.1684, allocations: 7.984 kB / 0.5307 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1686, allocations: 63.84 kB / 0.5308 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1686, allocations: 7.938 kB / 0.5308 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1687, allocations: 24.22 kB / 0.5308 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1688, allocations: 16 kB / 0.5308 GB, free: 14.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001169/0.1689, allocations: 133.7 kB / 0.531 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.1689, allocations: 19.81 kB / 0.531 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.1692, allocations: 153.9 kB / 0.5311 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.1693, allocations: 7.938 kB / 0.5311 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1693, allocations: 0 / 0.5311 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1693, allocations: 0 / 0.5311 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1696, allocations: 217.5 kB / 0.5314 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1696, allocations: 4 kB / 0.5314 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.235e-05/0.1697, allocations: 31.86 kB / 0.5314 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1697, allocations: 0 / 0.5314 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1697, allocations: 8 kB / 0.5314 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1697, allocations: 3.938 kB / 0.5314 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1697, allocations: 0 / 0.5314 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.17, allocations: 207.3 kB / 0.5316 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1701, allocations: 116.8 kB / 0.5317 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1701, allocations: 0 / 0.5317 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1703, allocations: 15.94 kB / 0.5317 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.1703, allocations: 11.98 kB / 0.5317 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1703, allocations: 12 kB / 0.5317 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.1704, allocations: 121.8 kB / 0.5319 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1705, allocations: 0 / 0.5319 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.1708, allocations: 75.98 kB / 0.5319 GB, free: 13.19 MB / 414.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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003219/0.1712, allocations: 185.2 kB / 0.5321 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.1714, allocations: 116.4 kB / 0.5322 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1715, allocations: 8.312 kB / 0.5322 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.1715, allocations: 47.16 kB / 0.5323 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.172, allocations: 39.95 kB / 0.5323 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.1727, allocations: 342.8 kB / 0.5326 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.173, allocations: 0.705 MB / 0.5333 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.1731, allocations: 53.67 kB / 0.5334 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1732, allocations: 27.44 kB / 0.5334 GB, free: 11.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1732, allocations: 4 kB / 0.5334 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Templates: time 0.006754/0.1799, allocations: 3.426 MB / 0.5368 GB, free: 8.207 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)