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.001189/0.00119, allocations: 108 kB / 15.6 MB, free: 132 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.001309/0.001309, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.512/1.512, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4538/0.4538, allocations: 54.95 MB / 324.7 MB, free: 15.92 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.001513/0.001513, allocations: 67.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.2732/0.4149, allocations: 4.667 MB / 459.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4172, allocations: 2.647 MB / 462.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.4173, allocations: 0.5312 kB / 462.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.4176, allocations: 46.39 kB / 462.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.4179, allocations: 91.66 kB / 462.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.4189, allocations: 449.4 kB / 462.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.4191, allocations: 214.1 kB / 463 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.4192, allocations: 13.34 kB / 463 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.4194, allocations: 109 kB / 463.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.4195, allocations: 91.11 kB / 463.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.4196, allocations: 5.281 kB / 463.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.4202, allocations: 351.8 kB / 463.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.4202, allocations: 30.88 kB / 463.6 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.116e-05/0.4203, allocations: 73.39 kB / 463.7 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.4208, allocations: 334.1 kB / 464 MB, free: 35.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4209, allocations: 0.5625 kB / 464 MB, free: 35.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4209, allocations: 0 / 464 MB, free: 35.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4209, allocations: 4.188 kB / 464 MB, free: 35.49 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.0006527/0.4215, allocations: 0.494 MB / 464.5 MB, free: 35.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4216, allocations: 11.36 kB / 464.5 MB, free: 35.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4218, allocations: 24 kB / 464.5 MB, free: 35.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4219, allocations: 214.6 kB / 464.7 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.422, allocations: 10.89 kB / 464.8 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.422, allocations: 16.03 kB / 464.8 MB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.4223, allocations: 249.7 kB / 465 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4223, allocations: 5.344 kB / 465 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.4224, allocations: 12.03 kB / 465 MB, free: 34.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.4224, allocations: 5.531 kB / 465 MB, free: 34.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.4228, allocations: 432.6 kB / 465.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/0.4237, allocations: 0.9998 MB / 466.5 MB, free: 33.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4239, allocations: 158.7 kB / 466.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.424, allocations: 67.05 kB / 466.7 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000934/0.425, allocations: 1.823 MB / 468.5 MB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.425, allocations: 36.44 kB / 468.5 MB, free: 31.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.425, allocations: 0 / 468.5 MB, free: 31.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003087/0.4253, allocations: 145.8 kB / 468.7 MB, free: 31.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.4254, allocations: 65.41 kB / 468.7 MB, free: 31.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4255, allocations: 159.8 kB / 468.9 MB, free: 31.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4255, allocations: 32.27 kB / 468.9 MB, free: 31.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.4256, allocations: 140.1 kB / 469.1 MB, free: 31.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.4256, allocations: 49.75 kB / 469.1 MB, free: 31.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.4257, allocations: 52 kB / 469.2 MB, free: 31.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.4257, allocations: 328.3 kB / 469.5 MB, free: 30.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.4258, allocations: 39.78 kB / 469.5 MB, free: 30.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.4259, allocations: 139.6 kB / 469.7 MB, free: 30.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.4261, allocations: 199.4 kB / 469.9 MB, free: 30.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4261, allocations: 0 / 469.9 MB, free: 30.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002724/0.4264, allocations: 219.4 kB / 470.1 MB, free: 30.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4264, allocations: 5.656 kB / 470.1 MB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4264, allocations: 3.375 kB / 470.1 MB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.4264, allocations: 6.312 kB / 470.1 MB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.4266, allocations: 68.75 kB / 470.2 MB, free: 30.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4266, allocations: 9.312 kB / 470.2 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.4267, allocations: 25.69 kB / 470.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.4268, allocations: 8.531 kB / 470.2 MB, free: 30.22 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 8.175e-05/0.4268, allocations: 138.2 kB / 470.3 MB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.4269, allocations: 16.44 kB / 470.3 MB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.4272, allocations: 150.7 kB / 470.5 MB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4272, allocations: 10.81 kB / 470.5 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4272, allocations: 0 / 470.5 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4272, allocations: 0 / 470.5 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4274, allocations: 217.8 kB / 470.7 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4274, allocations: 3.938 kB / 470.7 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.4275, allocations: 21.11 kB / 470.7 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4275, allocations: 2.875 kB / 470.7 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4275, allocations: 4 kB / 470.7 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4276, allocations: 11.34 kB / 470.8 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4276, allocations: 0 / 470.8 MB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.4278, allocations: 219 kB / 471 MB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.4278, allocations: 105.6 kB / 471.1 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4279, allocations: 6.844 kB / 471.1 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.428, allocations: 14.41 kB / 471.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.4281, allocations: 9 kB / 471.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4281, allocations: 14.86 kB / 471.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.66e-05/0.4282, allocations: 114.4 kB / 471.2 MB, free: 29.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4282, allocations: 0 / 471.2 MB, free: 29.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.4285, allocations: 87.72 kB / 471.3 MB, free: 29.38 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.0003619/0.4289, allocations: 166.8 kB / 471.5 MB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.4292, allocations: 126.9 kB / 471.6 MB, free: 29.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4292, allocations: 3.984 kB / 471.6 MB, free: 29.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.4293, allocations: 43.91 kB / 471.7 MB, free: 29.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.4297, allocations: 47.61 kB / 471.7 MB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.4303, allocations: 346.8 kB / 472 MB, free: 29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.4305, allocations: 0.7091 MB / 472.7 MB, free: 28.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.4307, allocations: 48.59 kB / 472.8 MB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.4307, allocations: 25.16 kB / 472.8 MB, free: 28.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4307, allocations: 0 / 472.8 MB, free: 28.27 MB / 382.1 MB Notification: Performance of Templates: time 0.005795/0.4365, allocations: 3.226 MB / 476 MB, free: 27.99 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)