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.001322/0.001322, 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.001858/0.001858, allocations: 193.7 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.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4408/0.4408, allocations: 54.95 MB / 324.7 MB, free: 15.89 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.001734/0.001734, allocations: 67.91 kB / 395.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 59.6 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.2482/0.4059, allocations: 3.262 MB / 458.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 7.26e-05/0.406, allocations: 50.56 kB / 458.2 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.4061, allocations: 4.625 kB / 458.2 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.4062, allocations: 2.25 kB / 458.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.4063, allocations: 7.875 kB / 458.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.4068, allocations: 176.1 kB / 458.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.4069, allocations: 29.98 kB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.4069, allocations: 7.594 kB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.407, allocations: 9.594 kB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.4071, allocations: 13.12 kB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.4071, allocations: 1.938 kB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.4074, allocations: 180.2 kB / 458.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.4075, allocations: 6.141 kB / 458.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.4075, allocations: 3.188 kB / 458.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.4077, allocations: 139.5 kB / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4078, allocations: 0 / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4078, allocations: 0 / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4078, allocations: 0.8438 kB / 458.8 MB, free: 38.22 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.0003713/0.4082, allocations: 343.2 kB / 459.1 MB, free: 37.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4082, allocations: 10.84 kB / 459.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.4082, allocations: 1.844 kB / 459.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.4083, allocations: 160.4 kB / 459.3 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.4084, allocations: 34.16 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.4084, allocations: 2.016 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4085, allocations: 53.92 kB / 459.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4086, allocations: 0 / 459.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4086, allocations: 0.75 kB / 459.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4086, allocations: 3.344 kB / 459.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.4086, allocations: 16.47 kB / 459.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.4091, allocations: 0.5781 MB / 460 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.196e-05/0.4092, allocations: 20.23 kB / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.4092, allocations: 7.016 kB / 460 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.4093, allocations: 348.9 kB / 460.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4094, allocations: 40.27 kB / 460.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4094, allocations: 1.844 kB / 460.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.4095, allocations: 33.95 kB / 460.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.4096, allocations: 53.38 kB / 460.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.4096, allocations: 106.4 kB / 460.6 MB, free: 36.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.4096, allocations: 25.7 kB / 460.6 MB, free: 36.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.4097, allocations: 83.45 kB / 460.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-06/0.4097, allocations: 8.891 kB / 460.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.4097, allocations: 20.62 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.4098, allocations: 318.4 kB / 461 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.4098, allocations: 6.562 kB / 461.1 MB, free: 35.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.4098, allocations: 19.67 kB / 461.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.4099, allocations: 20.28 kB / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4099, allocations: 0 / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.407e-05/0.41, allocations: 51.45 kB / 461.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.41, allocations: 5.719 kB / 461.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.41, allocations: 2.406 kB / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.41, allocations: 0 / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.41, allocations: 10.06 kB / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4101, allocations: 0 / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.4101, allocations: 0.8125 kB / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.4101, allocations: 2.844 kB / 461.2 MB, free: 35.8 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 4.928e-05/0.4102, allocations: 118.5 kB / 461.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4102, allocations: 0 / 461.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.4103, allocations: 120.1 kB / 461.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.4103, allocations: 183.9 kB / 461.6 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/0.4103, allocations: 183.7 kB / 461.8 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.4104, allocations: 182.6 kB / 461.9 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.4105, allocations: 406.9 kB / 462.3 MB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.4105, allocations: 111.3 kB / 462.4 MB, free: 34.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.4105, allocations: 104.5 kB / 462.5 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/0.4106, allocations: 177.7 kB / 462.7 MB, free: 34.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.4106, allocations: 181.5 kB / 462.9 MB, free: 34.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/0.4106, allocations: 183.1 kB / 463.1 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/0.4107, allocations: 184.6 kB / 463.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.4107, allocations: 318.6 kB / 463.6 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.4108, allocations: 187.8 kB / 463.7 MB, free: 33.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.4108, allocations: 176.3 kB / 463.9 MB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4109, allocations: 103.8 kB / 464 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.411, allocations: 185.1 kB / 464.2 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.411, allocations: 107.5 kB / 464.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.697e-05/0.411, allocations: 79.28 kB / 464.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.411, allocations: 0 / 464.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4113, allocations: 41.2 kB / 464.4 MB, free: 32.47 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.000212/0.4115, allocations: 232.5 kB / 464.7 MB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.4116, allocations: 13.7 kB / 464.7 MB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4116, allocations: 1.125 kB / 464.7 MB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4116, allocations: 4.312 kB / 464.7 MB, free: 32.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.412, allocations: 456.2 kB / 465.1 MB, free: 31.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.4122, allocations: 181.1 kB / 465.3 MB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.4123, allocations: 0.6758 MB / 466 MB, free: 30.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.4124, allocations: 8.422 kB / 466 MB, free: 30.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.4124, allocations: 10.19 kB / 466 MB, free: 30.98 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4124, allocations: 0 / 466 MB, free: 30.98 MB / 382.1 MB Notification: Performance of Templates: time 0.003235/0.4156, allocations: 1.164 MB / 467.2 MB, free: 30.84 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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)