Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008294/0.008295, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.716/1.716, allocations: 205.4 MB / 222.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4768/0.4768, allocations: 55.02 MB / 325.7 MB, free: 0.5703 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.0005726/0.0005726, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3861, allocations: 60.72 MB / 458 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01486/0.401, allocations: 13.32 MB / 471.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.4034, allocations: 2.597 MB / 473.9 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.4034, allocations: 0 / 473.9 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.4037, allocations: 38.39 kB / 473.9 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.404, allocations: 87.47 kB / 474 MB, free: 30.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.4049, allocations: 400.5 kB / 474.4 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.4052, allocations: 296.4 kB / 474.7 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.4052, allocations: 12 kB / 474.7 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008836/0.4141, allocations: 3.169 MB / 477.9 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.4144, allocations: 88.05 kB / 478 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.4144, allocations: 5.531 kB / 478 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.4172, allocations: 0.9386 MB / 478.9 MB, free: 28.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.4173, allocations: 36.22 kB / 478.9 MB, free: 28.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4174, allocations: 100.5 kB / 479 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.4181, allocations: 344.6 kB / 479.4 MB, free: 28.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4181, allocations: 0 / 479.4 MB, free: 28.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4182, allocations: 6.812 kB / 479.4 MB, free: 28.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4182, allocations: 0 / 479.4 MB, free: 28.56 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.0007815/0.419, allocations: 471.2 kB / 479.8 MB, free: 28.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.419, allocations: 7.75 kB / 479.9 MB, free: 28.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.4192, allocations: 26.56 kB / 479.9 MB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.4195, allocations: 215.7 kB / 480.1 MB, free: 27.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4195, allocations: 11.67 kB / 480.1 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4195, allocations: 14.78 kB / 480.1 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.4199, allocations: 255.7 kB / 480.4 MB, free: 27.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4199, allocations: 0 / 480.4 MB, free: 27.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.42, allocations: 7.188 kB / 480.4 MB, free: 27.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.42, allocations: 5.938 kB / 480.4 MB, free: 27.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.4204, allocations: 437.3 kB / 480.8 MB, free: 27.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.4214, allocations: 1.008 MB / 481.8 MB, free: 26.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.4216, allocations: 163.4 kB / 482 MB, free: 26.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.4217, allocations: 65.38 kB / 482 MB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009775/0.4227, allocations: 1.825 MB / 483.9 MB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4227, allocations: 41.84 kB / 483.9 MB, free: 24.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.4227, allocations: 0 / 483.9 MB, free: 24.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003099/0.423, allocations: 143.2 kB / 484 MB, free: 24.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.4231, allocations: 57.97 kB / 484.1 MB, free: 24.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4232, allocations: 163 kB / 484.3 MB, free: 24.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4233, allocations: 29.64 kB / 484.3 MB, free: 24.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.4233, allocations: 151.8 kB / 484.4 MB, free: 24.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.4234, allocations: 54.47 kB / 484.5 MB, free: 24.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.4234, allocations: 29.58 kB / 484.5 MB, free: 24.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.4235, allocations: 325.1 kB / 484.8 MB, free: 23.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.4235, allocations: 35.5 kB / 484.9 MB, free: 23.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.4236, allocations: 142.3 kB / 485 MB, free: 23.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4238, allocations: 199 kB / 485.2 MB, free: 23.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4238, allocations: 0 / 485.2 MB, free: 23.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002659/0.4241, allocations: 210.2 kB / 485.4 MB, free: 23.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4241, allocations: 9.5 kB / 485.4 MB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4241, allocations: 6.969 kB / 485.4 MB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4242, allocations: 5.844 kB / 485.4 MB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4243, allocations: 52 kB / 485.5 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4244, allocations: 10.91 kB / 485.5 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4245, allocations: 31.09 kB / 485.5 MB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.4245, allocations: 12.78 kB / 485.5 MB, free: 23.27 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.359e-05/0.4246, allocations: 129 kB / 485.7 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.4246, allocations: 13.97 kB / 485.7 MB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4249, allocations: 161.1 kB / 485.8 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4249, allocations: 8.391 kB / 485.8 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4249, allocations: 0 / 485.8 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4249, allocations: 2.812 kB / 485.8 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4252, allocations: 212.4 kB / 486.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4252, allocations: 1.125 kB / 486.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.4253, allocations: 31.56 kB / 486.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4253, allocations: 0 / 486.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4253, allocations: 6.406 kB / 486.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4253, allocations: 3.938 kB / 486.1 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4253, allocations: 4 kB / 486.1 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4255, allocations: 226.1 kB / 486.3 MB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.4256, allocations: 97.42 kB / 486.4 MB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4256, allocations: 15.28 kB / 486.4 MB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.4258, allocations: 10.75 kB / 486.4 MB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.4258, allocations: 13.12 kB / 486.5 MB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.4258, allocations: 8.891 kB / 486.5 MB, free: 22.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.4259, allocations: 124 kB / 486.6 MB, free: 22.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.4259, allocations: 3.938 kB / 486.6 MB, free: 22.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.4263, allocations: 78.52 kB / 486.7 MB, free: 22.43 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.0003165/0.4266, allocations: 173.3 kB / 486.8 MB, free: 22.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4269, allocations: 121.2 kB / 487 MB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4269, allocations: 1.125 kB / 487 MB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.4269, allocations: 44.78 kB / 487 MB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.4274, allocations: 57.56 kB / 487.1 MB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.428, allocations: 418.2 kB / 487.5 MB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.4282, allocations: 0.7165 MB / 488.2 MB, free: 21.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.4283, allocations: 48.12 kB / 488.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.4284, allocations: 25.41 kB / 488.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4284, allocations: 0 / 488.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of Templates: time 0.006147/0.4345, allocations: 3.333 MB / 491.6 MB, free: 20.93 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: