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.0009186/0.0009185, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005792/0.005792, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.719/1.719, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4609/0.4609, allocations: 55.01 MB / 325.8 MB, free: 0.5898 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.0005434/0.0005435, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4742, allocations: 60.71 MB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004339/0.4786, allocations: 2.985 MB / 461 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 9.878e-05/0.4788, allocations: 46.55 kB / 461 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.4788, allocations: 1.25 kB / 461 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.4789, allocations: 7.312 kB / 461 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.479, allocations: 8.344 kB / 461 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.4795, allocations: 163 kB / 461.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.4796, allocations: 58.09 kB / 461.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.4797, allocations: 0.9688 kB / 461.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.4797, allocations: 12.67 kB / 461.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.4798, allocations: 8.469 kB / 461.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.4798, allocations: 4.438 kB / 461.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.4802, allocations: 178.1 kB / 461.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.4803, allocations: 7.641 kB / 461.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.4803, allocations: 32.47 kB / 461.5 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4806, allocations: 133.6 kB / 461.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4806, allocations: 2.906 kB / 461.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4806, allocations: 0 / 461.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.4806, allocations: 0.8438 kB / 461.6 MB, free: 38.1 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.0003521/0.4809, allocations: 340 kB / 461.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.481, allocations: 10.78 kB / 461.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.481, allocations: 0.9375 kB / 461.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.4811, allocations: 162.1 kB / 462.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.4812, allocations: 33.75 kB / 462.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.4812, allocations: 384 / 462.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4814, allocations: 45.61 kB / 462.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4814, allocations: 1.734 kB / 462.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4814, allocations: 3.438 kB / 462.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.4814, allocations: 6.656 kB / 462.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.4815, allocations: 15.59 kB / 462.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.4821, allocations: 0.5808 MB / 462.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.4822, allocations: 19.3 kB / 462.8 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.4822, allocations: 4.859 kB / 462.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.4824, allocations: 349.2 kB / 463.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4824, allocations: 31.16 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.4824, allocations: 7.312 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.4826, allocations: 40.89 kB / 463.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4827, allocations: 52.16 kB / 463.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.4827, allocations: 101 kB / 463.4 MB, free: 36.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4828, allocations: 32.58 kB / 463.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.4828, allocations: 84.05 kB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.4828, allocations: 6.438 kB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.4828, allocations: 10.31 kB / 463.5 MB, free: 36.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.4829, allocations: 319.4 kB / 463.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.4829, allocations: 6.312 kB / 463.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.483, allocations: 14.25 kB / 463.8 MB, free: 35.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.483, allocations: 26.66 kB / 463.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4831, allocations: 1.219 kB / 463.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.789e-05/0.4831, allocations: 48.31 kB / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4832, allocations: 8.125 kB / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4832, allocations: 1.438 kB / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4832, allocations: 0 / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.4832, allocations: 9.219 kB / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4833, allocations: 0 / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.4833, allocations: 3.938 kB / 463.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4833, allocations: 2.5 kB / 463.9 MB, free: 35.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.4834, allocations: 117.8 kB / 464.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.4834, allocations: 0.6094 kB / 464.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.4835, allocations: 120.2 kB / 464.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.479e-05/0.4836, allocations: 180.8 kB / 464.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-05/0.4836, allocations: 181.5 kB / 464.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.46e-05/0.4836, allocations: 183.4 kB / 464.7 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4838, allocations: 412.3 kB / 465.1 MB, free: 34.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.4838, allocations: 106.6 kB / 465.2 MB, free: 34.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.4839, allocations: 103.9 kB / 465.3 MB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-05/0.4839, allocations: 179.5 kB / 465.5 MB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.4839, allocations: 183.5 kB / 465.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.749e-05/0.484, allocations: 184.1 kB / 465.9 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.88e-05/0.484, allocations: 182.4 kB / 466 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.05e-05/0.4841, allocations: 323.6 kB / 466.3 MB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.4842, allocations: 178.1 kB / 466.5 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.4842, allocations: 185.5 kB / 466.7 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4843, allocations: 110.2 kB / 466.8 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.4844, allocations: 176.3 kB / 467 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4844, allocations: 108.9 kB / 467.1 MB, free: 32.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.808e-05/0.4844, allocations: 87.2 kB / 467.2 MB, free: 32.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4844, allocations: 0 / 467.2 MB, free: 32.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.4847, allocations: 36.88 kB / 467.2 MB, free: 32.3 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 (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.0002573/0.485, allocations: 235.2 kB / 467.4 MB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.4851, allocations: 9.953 kB / 467.4 MB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4851, allocations: 2.906 kB / 467.5 MB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.4851, allocations: 0 / 467.5 MB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4855, allocations: 0.5283 MB / 468 MB, free: 31.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.4857, allocations: 185.3 kB / 468.2 MB, free: 31.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.4859, allocations: 0.6753 MB / 468.8 MB, free: 30.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.486, allocations: 9.234 kB / 468.8 MB, free: 30.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.486, allocations: 9.719 kB / 468.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.486, allocations: 0 / 468.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of Templates: time 0.003681/0.4897, allocations: 1.137 MB / 470 MB, free: 30.59 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: