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.001619/0.001619, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002737/0.002736, allocations: 187 kB / 16.62 MB, free: 6.582 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4592/0.4592, allocations: 54.95 MB / 324.8 MB, free: 56 kB / 254.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.001451/0.001452, allocations: 67.89 kB / 396.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4481, allocations: 59.58 MB / 455.7 MB, free: 40.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.00634/0.4545, allocations: 4.679 MB / 460.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.4572, allocations: 2.647 MB / 463 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.4573, allocations: 0 / 463 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.4577, allocations: 53.17 kB / 463.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.458, allocations: 91.75 kB / 463.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.459, allocations: 439.8 kB / 463.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.4592, allocations: 220.2 kB / 463.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.4593, allocations: 12.78 kB / 463.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.4595, allocations: 110.8 kB / 464 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.4596, allocations: 90.67 kB / 464 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4597, allocations: 5.531 kB / 464 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005853/0.4602, allocations: 349.3 kB / 464.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.4603, allocations: 32.59 kB / 464.4 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.4604, allocations: 79.72 kB / 464.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.461, allocations: 339.6 kB / 464.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.461, allocations: 0 / 464.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.461, allocations: 3.531 kB / 464.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.461, allocations: 0 / 464.8 MB, free: 36.1 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.0007242/0.4617, allocations: 496 kB / 465.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4618, allocations: 11.16 kB / 465.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.4619, allocations: 24.28 kB / 465.4 MB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.4622, allocations: 212.9 kB / 465.6 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4623, allocations: 18.31 kB / 465.6 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4623, allocations: 16.97 kB / 465.6 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.4627, allocations: 253.5 kB / 465.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4627, allocations: 0.5156 kB / 465.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.4627, allocations: 10.28 kB / 465.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.4628, allocations: 5.75 kB / 465.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.4632, allocations: 434.5 kB / 466.3 MB, free: 35.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.4641, allocations: 0.9924 MB / 467.3 MB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4644, allocations: 168.4 kB / 467.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.4645, allocations: 62.89 kB / 467.5 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009546/0.4654, allocations: 1.82 MB / 469.3 MB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.4655, allocations: 41.12 kB / 469.4 MB, free: 32.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.195e-06/0.4655, allocations: 0.8906 kB / 469.4 MB, free: 32.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003114/0.4658, allocations: 147.3 kB / 469.5 MB, free: 32.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4659, allocations: 55.34 kB / 469.6 MB, free: 31.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.466, allocations: 169.9 kB / 469.7 MB, free: 31.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.466, allocations: 25.7 kB / 469.8 MB, free: 31.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.4661, allocations: 143.5 kB / 469.9 MB, free: 31.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.4661, allocations: 50.5 kB / 469.9 MB, free: 31.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.4662, allocations: 56.08 kB / 470 MB, free: 31.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.4663, allocations: 324.9 kB / 470.3 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.4664, allocations: 35.41 kB / 470.3 MB, free: 31.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4665, allocations: 147.2 kB / 470.5 MB, free: 31.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.4667, allocations: 198.4 kB / 470.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4667, allocations: 4.062 kB / 470.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002783/0.467, allocations: 206.4 kB / 470.9 MB, free: 30.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.467, allocations: 17.38 kB / 470.9 MB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.467, allocations: 7.719 kB / 470.9 MB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4671, allocations: 3.062 kB / 470.9 MB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.4672, allocations: 56.16 kB / 471 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4672, allocations: 9.25 kB / 471 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.4673, allocations: 24.09 kB / 471 MB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4674, allocations: 14.66 kB / 471 MB, free: 30.82 MB / 382.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 9.203e-05/0.4675, allocations: 132.7 kB / 471.2 MB, free: 30.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.4675, allocations: 18.59 kB / 471.2 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.4678, allocations: 153.7 kB / 471.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4678, allocations: 8.594 kB / 471.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4678, allocations: 0 / 471.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4678, allocations: 3.328 kB / 471.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.4681, allocations: 216.6 kB / 471.5 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4681, allocations: 0 / 471.5 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.4682, allocations: 21.47 kB / 471.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4682, allocations: 0 / 471.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4682, allocations: 6.844 kB / 471.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4682, allocations: 15.06 kB / 471.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4682, allocations: 2.938 kB / 471.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.4684, allocations: 216.4 kB / 471.8 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.4685, allocations: 107.8 kB / 471.9 MB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.4685, allocations: 2.672 kB / 471.9 MB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.4687, allocations: 14.28 kB / 471.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.4687, allocations: 7.266 kB / 471.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4687, allocations: 17.12 kB / 471.9 MB, free: 30.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.4688, allocations: 124 kB / 472.1 MB, free: 30 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4688, allocations: 0 / 472.1 MB, free: 30 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.4692, allocations: 70.83 kB / 472.1 MB, free: 29.99 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 (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.0002773/0.4695, allocations: 175.1 kB / 472.3 MB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.4697, allocations: 121.1 kB / 472.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4697, allocations: 0 / 472.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.4698, allocations: 43.95 kB / 472.5 MB, free: 29.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.4702, allocations: 52.39 kB / 472.5 MB, free: 29.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.4709, allocations: 339 kB / 472.8 MB, free: 29.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.4711, allocations: 0.7119 MB / 473.6 MB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.4713, allocations: 45.62 kB / 473.6 MB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.4713, allocations: 26.12 kB / 473.6 MB, free: 28.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4713, allocations: 0 / 473.6 MB, free: 28.89 MB / 382.1 MB Notification: Performance of Templates: time 0.006381/0.4777, allocations: 3.232 MB / 476.9 MB, free: 28.6 MB / 382.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)