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.001075/0.001079, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001227/0.001227, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.546/1.546, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4619/0.4619, allocations: 54.93 MB / 324.4 MB, free: 92 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.001588/0.001589, allocations: 67.89 kB / 394.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1548, allocations: 59.59 MB / 454.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.2957/0.4506, allocations: 4.708 MB / 459.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.4533, allocations: 2.63 MB / 461.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.4534, allocations: 0 / 461.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.4539, allocations: 37.17 kB / 461.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.4542, allocations: 98.39 kB / 461.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.4554, allocations: 407 kB / 462.3 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.4557, allocations: 215.5 kB / 462.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.241e-05/0.4557, allocations: 17.92 kB / 462.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.4559, allocations: 111.4 kB / 462.6 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4561, allocations: 92.31 kB / 462.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.4561, allocations: 6.656 kB / 462.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.4567, allocations: 355.8 kB / 463.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.4568, allocations: 32.31 kB / 463.1 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.4569, allocations: 80.84 kB / 463.2 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.4574, allocations: 342.2 kB / 463.5 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.4574, allocations: 0 / 463.5 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4574, allocations: 0.5625 kB / 463.5 MB, free: 35.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.4574, allocations: 0.75 kB / 463.5 MB, free: 35.45 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.0007754/0.4582, allocations: 0.4919 MB / 464 MB, free: 35.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4583, allocations: 9.156 kB / 464 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.4584, allocations: 23.12 kB / 464 MB, free: 35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.4587, allocations: 219.8 kB / 464.2 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4587, allocations: 11.73 kB / 464.3 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4587, allocations: 12.91 kB / 464.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.4591, allocations: 251.2 kB / 464.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4591, allocations: 2.438 kB / 464.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4591, allocations: 6.875 kB / 464.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.4592, allocations: 9.375 kB / 464.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.4596, allocations: 430.4 kB / 465 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.4607, allocations: 1.003 MB / 466 MB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.461, allocations: 159.1 kB / 466.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.4611, allocations: 63.94 kB / 466.2 MB, free: 33.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009667/0.462, allocations: 1.82 MB / 468 MB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4621, allocations: 37.5 kB / 468 MB, free: 31.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.4621, allocations: 3.406 kB / 468 MB, free: 31.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003258/0.4624, allocations: 140.8 kB / 468.2 MB, free: 31.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.4625, allocations: 58.44 kB / 468.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4626, allocations: 167.9 kB / 468.4 MB, free: 31.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4626, allocations: 28.64 kB / 468.4 MB, free: 31.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.4627, allocations: 143.7 kB / 468.6 MB, free: 31.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.4627, allocations: 47.45 kB / 468.6 MB, free: 31.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.4628, allocations: 55.19 kB / 468.7 MB, free: 30.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.4629, allocations: 327.2 kB / 469 MB, free: 30.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.463, allocations: 36.41 kB / 469 MB, free: 30.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.4631, allocations: 146.6 kB / 469.2 MB, free: 30.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4633, allocations: 198.9 kB / 469.4 MB, free: 30.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4633, allocations: 6.938 kB / 469.4 MB, free: 30.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002704/0.4636, allocations: 209.9 kB / 469.6 MB, free: 30.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4636, allocations: 5.688 kB / 469.6 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4636, allocations: 6.5 kB / 469.6 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4636, allocations: 9.531 kB / 469.6 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4638, allocations: 55.22 kB / 469.6 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4638, allocations: 2.938 kB / 469.6 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4639, allocations: 32.16 kB / 469.7 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.4639, allocations: 13.5 kB / 469.7 MB, free: 30.2 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.311e-05/0.464, allocations: 138.9 kB / 469.8 MB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.4641, allocations: 16.59 kB / 469.8 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.4644, allocations: 150.4 kB / 470 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4644, allocations: 7.688 kB / 470 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4644, allocations: 0.8438 kB / 470 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4644, allocations: 4.125 kB / 470 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4646, allocations: 212.9 kB / 470.2 MB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4647, allocations: 6.688 kB / 470.2 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.4647, allocations: 31.52 kB / 470.2 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4648, allocations: 0 / 470.2 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4648, allocations: 3.344 kB / 470.3 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4648, allocations: 5.109 kB / 470.3 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4648, allocations: 0 / 470.3 MB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.465, allocations: 219.5 kB / 470.5 MB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.4651, allocations: 104.3 kB / 470.6 MB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4651, allocations: 3 kB / 470.6 MB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4653, allocations: 17.59 kB / 470.6 MB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.4653, allocations: 10.69 kB / 470.6 MB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4653, allocations: 13.02 kB / 470.6 MB, free: 29.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.4654, allocations: 119.5 kB / 470.7 MB, free: 29.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4654, allocations: 0 / 470.7 MB, free: 29.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.4658, allocations: 70.41 kB / 470.8 MB, free: 29.36 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.0003288/0.4661, allocations: 182 kB / 471 MB, free: 29.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4664, allocations: 123.1 kB / 471.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4664, allocations: 0 / 471.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.4665, allocations: 50.09 kB / 471.1 MB, free: 29.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.4669, allocations: 56.14 kB / 471.2 MB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.4676, allocations: 395.2 kB / 471.6 MB, free: 28.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.4678, allocations: 0.7094 MB / 472.3 MB, free: 28.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.468, allocations: 44.09 kB / 472.3 MB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.468, allocations: 29.25 kB / 472.4 MB, free: 28.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.468, allocations: 0 / 472.4 MB, free: 28.2 MB / 382.1 MB Notification: Performance of Templates: time 0.007536/0.4756, allocations: 3.217 MB / 475.6 MB, free: 27.91 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)