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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001203/0.001203, allocations: 190.8 kB / 16.13 MB, free: 6.699 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.485/0.485, allocations: 54.92 MB / 324.3 MB, free: 176 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.001446/0.001446, allocations: 63.91 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.172, allocations: 59.59 MB / 454.3 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.2291/0.4012, allocations: 4.709 MB / 459 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.4031, allocations: 2.661 MB / 461.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.4033, allocations: 7.094 kB / 461.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.4035, allocations: 37.75 kB / 461.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.4037, allocations: 84 kB / 461.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007804/0.4045, allocations: 395.2 kB / 462.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.4047, allocations: 290.8 kB / 462.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4047, allocations: 16.39 kB / 462.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.4049, allocations: 109.3 kB / 462.6 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.405, allocations: 86.75 kB / 462.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.405, allocations: 10.56 kB / 462.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.4056, allocations: 350 kB / 463 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.4056, allocations: 32.56 kB / 463 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.4057, allocations: 81.64 kB / 463.1 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.4061, allocations: 335.1 kB / 463.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4062, allocations: 4.938 kB / 463.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4062, allocations: 0 / 463.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.4062, allocations: 0 / 463.4 MB, free: 35.7 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.0005678/0.4067, allocations: 0.4902 MB / 463.9 MB, free: 35.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.4068, allocations: 8.75 kB / 463.9 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.4069, allocations: 27.31 kB / 464 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4071, allocations: 210.2 kB / 464.2 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4071, allocations: 11.02 kB / 464.2 MB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4071, allocations: 13.88 kB / 464.2 MB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.4074, allocations: 261.3 kB / 464.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4075, allocations: 0 / 464.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4075, allocations: 7.5 kB / 464.5 MB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.4075, allocations: 4.562 kB / 464.5 MB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.4079, allocations: 428 kB / 464.9 MB, free: 34.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.4087, allocations: 1.006 MB / 465.9 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.409, allocations: 158.1 kB / 466.1 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/0.4091, allocations: 68.2 kB / 466.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008628/0.4099, allocations: 1.823 MB / 467.9 MB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.41, allocations: 38 kB / 468 MB, free: 31.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/0.41, allocations: 1.078 kB / 468 MB, free: 31.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003292/0.4103, allocations: 145.1 kB / 468.1 MB, free: 31.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4104, allocations: 58 kB / 468.2 MB, free: 31.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4105, allocations: 162.8 kB / 468.3 MB, free: 31.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4105, allocations: 30.27 kB / 468.4 MB, free: 31.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.4106, allocations: 144.1 kB / 468.5 MB, free: 31.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.4106, allocations: 52.28 kB / 468.6 MB, free: 31.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.4107, allocations: 61.5 kB / 468.6 MB, free: 31.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.4108, allocations: 324.9 kB / 468.9 MB, free: 30.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/0.4109, allocations: 36.88 kB / 469 MB, free: 30.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.411, allocations: 142.4 kB / 469.1 MB, free: 30.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4112, allocations: 194.5 kB / 469.3 MB, free: 30.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4112, allocations: 0 / 469.3 MB, free: 30.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002822/0.4115, allocations: 222.2 kB / 469.5 MB, free: 30.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4115, allocations: 6.438 kB / 469.5 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4115, allocations: 3.312 kB / 469.5 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4115, allocations: 5.469 kB / 469.5 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.4117, allocations: 64.06 kB / 469.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4117, allocations: 3.266 kB / 469.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4118, allocations: 27.53 kB / 469.6 MB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4119, allocations: 15.62 kB / 469.6 MB, free: 30.43 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.7e-05/0.412, allocations: 132.5 kB / 469.8 MB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.412, allocations: 20.59 kB / 469.8 MB, free: 30.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.4123, allocations: 154 kB / 469.9 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4123, allocations: 7.75 kB / 469.9 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4123, allocations: 0 / 469.9 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4124, allocations: 0.6562 kB / 469.9 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4126, allocations: 214.6 kB / 470.2 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4126, allocations: 2.969 kB / 470.2 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.4127, allocations: 21.23 kB / 470.2 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4127, allocations: 0 / 470.2 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4127, allocations: 16.45 kB / 470.2 MB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4127, allocations: 3.938 kB / 470.2 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4127, allocations: 9 kB / 470.2 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.4129, allocations: 213.4 kB / 470.4 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.413, allocations: 108.2 kB / 470.5 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.413, allocations: 0 / 470.5 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.4132, allocations: 16.62 kB / 470.5 MB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.4132, allocations: 12.86 kB / 470.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4133, allocations: 9.781 kB / 470.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.4133, allocations: 118.7 kB / 470.7 MB, free: 29.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4133, allocations: 0 / 470.7 MB, free: 29.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.4137, allocations: 71.19 kB / 470.7 MB, free: 29.6 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.0003513/0.4141, allocations: 187.4 kB / 470.9 MB, free: 29.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.4143, allocations: 114 kB / 471 MB, free: 29.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4143, allocations: 0 / 471 MB, free: 29.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.4144, allocations: 48.33 kB / 471.1 MB, free: 29.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4148, allocations: 51.61 kB / 471.1 MB, free: 29.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.4154, allocations: 395.7 kB / 471.5 MB, free: 29.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.4155, allocations: 0.7155 MB / 472.2 MB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.4157, allocations: 44.08 kB / 472.3 MB, free: 28.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.4158, allocations: 21.22 kB / 472.3 MB, free: 28.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4158, allocations: 0 / 472.3 MB, free: 28.44 MB / 382.1 MB Notification: Performance of Templates: time 0.005512/0.4213, allocations: 3.123 MB / 475.4 MB, free: 28.18 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)