Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 92.16 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.001263/0.001263, 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.776/1.776, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4481/0.4481, allocations: 55 MB / 325.4 MB, free: 0.6367 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.0005996/0.0005997, allocations: 19.92 kB / 396.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4929, allocations: 60.72 MB / 457.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003479/0.4964, allocations: 2.88 MB / 460.2 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 8.174e-05/0.4966, allocations: 41.5 kB / 460.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.4966, allocations: 2.969 kB / 460.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.4967, allocations: 3.422 kB / 460.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.4968, allocations: 13.88 kB / 460.3 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.4973, allocations: 130.1 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.4974, allocations: 47.02 kB / 460.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.4975, allocations: 1.719 kB / 460.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.4975, allocations: 18.12 kB / 460.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.4976, allocations: 9.938 kB / 460.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4976, allocations: 0 / 460.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.4979, allocations: 93.58 kB / 460.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.498, allocations: 9.312 kB / 460.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.498, allocations: 28.61 kB / 460.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.4982, allocations: 55.77 kB / 460.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.4982, allocations: 0 / 460.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4982, allocations: 0 / 460.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4982, allocations: 2.906 kB / 460.7 MB, free: 37.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003946/0.4986, allocations: 342.2 kB / 461 MB, free: 37.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4986, allocations: 8.344 kB / 461 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.4987, allocations: 4.25 kB / 461 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.4988, allocations: 163.9 kB / 461.2 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.4989, allocations: 29.34 kB / 461.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4989, allocations: 3.828 kB / 461.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4991, allocations: 45.33 kB / 461.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4991, allocations: 2.344 kB / 461.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4991, allocations: 0.8125 kB / 461.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.4991, allocations: 0.5312 kB / 461.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.4992, allocations: 20.58 kB / 461.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.4999, allocations: 0.5844 MB / 461.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.334e-05/0.4999, allocations: 17.42 kB / 461.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.4999, allocations: 9.672 kB / 461.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.5002, allocations: 344.4 kB / 462.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5002, allocations: 34.12 kB / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.5002, allocations: 0 / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000173/0.5004, allocations: 36.48 kB / 462.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.5004, allocations: 56.34 kB / 462.4 MB, free: 36.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.5005, allocations: 103.7 kB / 462.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.5005, allocations: 25.7 kB / 462.5 MB, free: 36.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.5006, allocations: 90.8 kB / 462.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.5006, allocations: 4.906 kB / 462.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.5006, allocations: 0 / 462.6 MB, free: 35.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.5007, allocations: 315.9 kB / 462.9 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.5007, allocations: 6.875 kB / 462.9 MB, free: 35.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.5007, allocations: 20.61 kB / 462.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/0.5008, allocations: 4.812 kB / 462.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5008, allocations: 4.891 kB / 462.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.259e-05/0.5009, allocations: 48.27 kB / 463 MB, free: 35.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5009, allocations: 3.625 kB / 463 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5009, allocations: 0.5312 kB / 463 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5009, allocations: 9.25 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.501, allocations: 6.188 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.501, allocations: 5.5 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.501, allocations: 0.5 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.501, allocations: 0.875 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 7.498e-05/0.5011, allocations: 112.7 kB / 463.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.5012, allocations: 6.859 kB / 463.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.5013, allocations: 118.6 kB / 463.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.5013, allocations: 183.5 kB / 463.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/0.5014, allocations: 177.5 kB / 463.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/0.5014, allocations: 189.4 kB / 463.8 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.5016, allocations: 402.3 kB / 464.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.5016, allocations: 105.4 kB / 464.3 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.5017, allocations: 111.1 kB / 464.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.41e-05/0.5017, allocations: 179.4 kB / 464.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.5018, allocations: 184.2 kB / 464.7 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.133e-05/0.5018, allocations: 184 kB / 464.9 MB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/0.5018, allocations: 184.9 kB / 465.1 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.18e-05/0.5019, allocations: 305.5 kB / 465.4 MB, free: 33.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.502, allocations: 186 kB / 465.6 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.502, allocations: 188 kB / 465.8 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5022, allocations: 109.5 kB / 465.9 MB, free: 32.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.5022, allocations: 180 kB / 466 MB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5022, allocations: 101.5 kB / 466.1 MB, free: 32.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.5023, allocations: 85.61 kB / 466.2 MB, free: 32.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5023, allocations: 0 / 466.2 MB, free: 32.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.5026, allocations: 36.73 kB / 466.3 MB, free: 32.21 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000231/0.5028, allocations: 229.9 kB / 466.5 MB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.5029, allocations: 5.5 kB / 466.5 MB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5029, allocations: 0 / 466.5 MB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.5029, allocations: 128 / 466.5 MB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.5033, allocations: 0.5287 MB / 467 MB, free: 31.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.5036, allocations: 194.9 kB / 467.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.5037, allocations: 0.6726 MB / 467.9 MB, free: 30.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.5038, allocations: 12.64 kB / 467.9 MB, free: 30.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.5038, allocations: 7.438 kB / 467.9 MB, free: 30.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5038, allocations: 0.8438 kB / 467.9 MB, free: 30.63 MB / 382.1 MB Notification: Performance of Templates: time 0.00344/0.5072, allocations: 1.086 MB / 469 MB, free: 30.51 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: