Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007423/0.007423, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001321/0.001321, allocations: 199 kB / 16.68 MB, free: 5.965 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4675/0.4675, allocations: 54.94 MB / 324.8 MB, free: 15.99 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.001557/0.001557, allocations: 74.61 kB / 456.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1628, allocations: 59.59 MB / 0.5037 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.005787/0.1687, allocations: 4.682 MB / 0.5083 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1709, allocations: 2.643 MB / 0.5109 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.171, allocations: 4 kB / 0.5109 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1714, allocations: 43.67 kB / 0.5109 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1717, allocations: 103.3 kB / 0.511 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.1727, allocations: 440.1 kB / 0.5114 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1729, allocations: 223.9 kB / 0.5117 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.173, allocations: 9.562 kB / 0.5117 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1731, allocations: 111.5 kB / 0.5118 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1733, allocations: 91.66 kB / 0.5119 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1733, allocations: 7.938 kB / 0.5119 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.1739, allocations: 351.3 kB / 0.5122 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.174, allocations: 31.84 kB / 0.5122 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.1741, allocations: 79.66 kB / 0.5123 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.1746, allocations: 331 kB / 0.5126 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1746, allocations: 4 kB / 0.5126 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1746, allocations: 0 / 0.5126 GB, free: 1.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1746, allocations: 0 / 0.5126 GB, free: 1.852 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006713/0.1753, allocations: 0.5025 MB / 0.5131 GB, free: 1.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1753, allocations: 8.031 kB / 0.5131 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1755, allocations: 20.84 kB / 0.5132 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1758, allocations: 212.1 kB / 0.5134 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1758, allocations: 12.7 kB / 0.5134 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1758, allocations: 12.38 kB / 0.5134 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.1761, allocations: 253.1 kB / 0.5136 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1762, allocations: 3.938 kB / 0.5136 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1762, allocations: 8 kB / 0.5136 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.1762, allocations: 4 kB / 0.5136 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.1766, allocations: 431.5 kB / 0.514 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1777, allocations: 1.004 MB / 0.515 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.178, allocations: 168.4 kB / 0.5152 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1781, allocations: 68.77 kB / 0.5153 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.1795, allocations: 1.825 MB / 0.517 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1795, allocations: 30.56 kB / 0.5171 GB, free: 12.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1795, allocations: 0 / 0.5171 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003471/0.1799, allocations: 152.9 kB / 0.5172 GB, free: 12.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.18, allocations: 63.28 kB / 0.5173 GB, free: 12.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1801, allocations: 167.2 kB / 0.5174 GB, free: 12.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.1802, allocations: 37.69 kB / 0.5175 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.1803, allocations: 140.1 kB / 0.5176 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1804, allocations: 47.59 kB / 0.5176 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.1805, allocations: 53.66 kB / 0.5177 GB, free: 12.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1806, allocations: 326.8 kB / 0.518 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.1807, allocations: 35.97 kB / 0.518 GB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1808, allocations: 134.7 kB / 0.5182 GB, free: 11.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1811, allocations: 205.4 kB / 0.5184 GB, free: 11.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1811, allocations: 0 / 0.5184 GB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003081/0.1814, allocations: 213.2 kB / 0.5186 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1814, allocations: 4 kB / 0.5186 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1814, allocations: 4 kB / 0.5186 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1815, allocations: 8 kB / 0.5186 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1816, allocations: 56.33 kB / 0.5186 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1817, allocations: 19.86 kB / 0.5187 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1818, allocations: 27.78 kB / 0.5187 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1818, allocations: 16 kB / 0.5187 GB, free: 10.9 MB / 398.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.0001062/0.1819, allocations: 133.7 kB / 0.5188 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.182, allocations: 15.91 kB / 0.5188 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.1823, allocations: 143 kB / 0.519 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.1823, allocations: 11.92 kB / 0.519 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1823, allocations: 0 / 0.519 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1823, allocations: 4 kB / 0.519 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1826, allocations: 213.6 kB / 0.5192 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1826, allocations: 0 / 0.5192 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.1827, allocations: 27.92 kB / 0.5192 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1827, allocations: 0 / 0.5192 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1827, allocations: 8 kB / 0.5192 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1827, allocations: 3.938 kB / 0.5192 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1827, allocations: 0 / 0.5192 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.183, allocations: 226.5 kB / 0.5194 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1831, allocations: 108.9 kB / 0.5196 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1832, allocations: 4 kB / 0.5196 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1833, allocations: 7.938 kB / 0.5196 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.1834, allocations: 15.92 kB / 0.5196 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.1834, allocations: 19.92 kB / 0.5196 GB, free: 9.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.1835, allocations: 121.8 kB / 0.5197 GB, free: 9.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1835, allocations: 0 / 0.5197 GB, free: 9.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.1839, allocations: 75.81 kB / 0.5198 GB, free: 9.688 MB / 398.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.0003359/0.1842, allocations: 171 kB / 0.52 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.1845, allocations: 116.6 kB / 0.5201 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1845, allocations: 4.125 kB / 0.5201 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.1846, allocations: 47.92 kB / 0.5201 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.185, allocations: 43.94 kB / 0.5202 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.1858, allocations: 334.8 kB / 0.5205 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1862, allocations: 0.7206 MB / 0.5212 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1863, allocations: 41.77 kB / 0.5212 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.1864, allocations: 23.44 kB / 0.5212 GB, free: 8.129 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1864, allocations: 0 / 0.5212 GB, free: 8.129 MB / 398.1 MB Notification: Performance of Templates: time 0.007725/0.1941, allocations: 3.245 MB / 0.5244 GB, free: 4.914 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe 2>&1)