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.001363/0.001363, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001127/0.001128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3974/0.3974, allocations: 55.02 MB / 325.4 MB, free: 0.7188 MB / 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.0005553/0.0005556, allocations: 19.98 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4355, allocations: 60.7 MB / 457.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.004514/0.4401, allocations: 4.183 MB / 461.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.4422, allocations: 2.433 MB / 464 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.4423, allocations: 3.656 kB / 464 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.4426, allocations: 28.69 kB / 464 MB, free: 37.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.4428, allocations: 91.72 kB / 464.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.4437, allocations: 346 kB / 464.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.4439, allocations: 256.6 kB / 464.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.444, allocations: 11.73 kB / 464.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.4441, allocations: 105.5 kB / 464.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.4443, allocations: 89.47 kB / 464.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4443, allocations: 5.656 kB / 464.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.4448, allocations: 247.8 kB / 465.1 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.4448, allocations: 36.75 kB / 465.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.4449, allocations: 53.45 kB / 465.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.4452, allocations: 203.4 kB / 465.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4452, allocations: 3.938 kB / 465.4 MB, free: 36.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4452, allocations: 2.562 kB / 465.4 MB, free: 36.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.4452, allocations: 3.938 kB / 465.4 MB, free: 36.42 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.000582/0.4458, allocations: 463.8 kB / 465.9 MB, free: 35.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4458, allocations: 8.781 kB / 465.9 MB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.446, allocations: 22.84 kB / 465.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4461, allocations: 208.6 kB / 466.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4462, allocations: 14.27 kB / 466.1 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.4462, allocations: 20.39 kB / 466.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.4465, allocations: 242.8 kB / 466.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4465, allocations: 1.812 kB / 466.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4466, allocations: 13 kB / 466.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.4466, allocations: 7.031 kB / 466.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.447, allocations: 428.8 kB / 466.8 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.448, allocations: 1.002 MB / 467.8 MB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.4482, allocations: 157.8 kB / 468 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.4483, allocations: 66.61 kB / 468 MB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.4494, allocations: 1.819 MB / 469.9 MB, free: 32.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4495, allocations: 30.56 kB / 469.9 MB, free: 32.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.4495, allocations: 3.938 kB / 469.9 MB, free: 32.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003621/0.4499, allocations: 143.9 kB / 470 MB, free: 32.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4499, allocations: 57.62 kB / 470.1 MB, free: 32.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.4501, allocations: 172.6 kB / 470.3 MB, free: 32.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4501, allocations: 32.61 kB / 470.3 MB, free: 32.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4502, allocations: 136 kB / 470.4 MB, free: 32.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.4502, allocations: 51.14 kB / 470.5 MB, free: 31.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.4502, allocations: 4 kB / 470.5 MB, free: 31.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.4503, allocations: 324.8 kB / 470.8 MB, free: 31.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.4504, allocations: 36.64 kB / 470.8 MB, free: 31.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4505, allocations: 144.3 kB / 471 MB, free: 31.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4506, allocations: 58.31 kB / 471 MB, free: 31.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4506, allocations: 7.062 kB / 471 MB, free: 31.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000292/0.4509, allocations: 210.6 kB / 471.2 MB, free: 31.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.451, allocations: 8.375 kB / 471.2 MB, free: 31.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.451, allocations: 6.109 kB / 471.3 MB, free: 31.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.451, allocations: 9.281 kB / 471.3 MB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.4512, allocations: 54.06 kB / 471.3 MB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4512, allocations: 3.562 kB / 471.3 MB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4513, allocations: 30.97 kB / 471.3 MB, free: 31.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4514, allocations: 13.81 kB / 471.4 MB, free: 31.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.4515, allocations: 138.2 kB / 471.5 MB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.4515, allocations: 13.5 kB / 471.5 MB, free: 31.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.4518, allocations: 163.6 kB / 471.7 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4518, allocations: 3.719 kB / 471.7 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4519, allocations: 0 / 471.7 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4519, allocations: 1.078 kB / 471.7 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.4521, allocations: 213.5 kB / 471.9 MB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4521, allocations: 0 / 471.9 MB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.4522, allocations: 27.23 kB / 471.9 MB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4522, allocations: 0 / 471.9 MB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4522, allocations: 6.688 kB / 471.9 MB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4522, allocations: 0 / 471.9 MB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4522, allocations: 0 / 471.9 MB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.4524, allocations: 233.8 kB / 472.1 MB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.4525, allocations: 104.3 kB / 472.2 MB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4525, allocations: 7.938 kB / 472.3 MB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4527, allocations: 9.266 kB / 472.3 MB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.4527, allocations: 8.594 kB / 472.3 MB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4527, allocations: 9.469 kB / 472.3 MB, free: 30.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.4528, allocations: 124 kB / 472.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4528, allocations: 0 / 472.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.4532, allocations: 81.11 kB / 472.5 MB, free: 30.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002247/0.4534, allocations: 166.1 kB / 472.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4536, allocations: 118.9 kB / 472.8 MB, free: 30.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4537, allocations: 0 / 472.8 MB, free: 30.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.13e-05/0.4537, allocations: 43.84 kB / 472.8 MB, free: 30.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4541, allocations: 51.97 kB / 472.9 MB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.4548, allocations: 428.6 kB / 473.3 MB, free: 30.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.455, allocations: 0.7143 MB / 474 MB, free: 29.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.4551, allocations: 43.78 kB / 474 MB, free: 29.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.4552, allocations: 32.86 kB / 474.1 MB, free: 29.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4552, allocations: 0 / 474.1 MB, free: 29.37 MB / 382.1 MB Notification: Performance of Templates: time 0.005742/0.4609, allocations: 2.996 MB / 477.1 MB, free: 29.09 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: