Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007928, allocations: 91.84 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.005611/0.005611, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.592/1.592, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4569/0.4569, allocations: 55.01 MB / 325.8 MB, free: 0.6289 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.0005546/0.0005546, allocations: 16 kB / 397.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4986, allocations: 60.71 MB / 458 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004759/0.5034, allocations: 3.68 MB / 461.6 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001901/0.5037, allocations: 146.6 kB / 461.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.5037, allocations: 1.562 kB / 461.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.5038, allocations: 3.938 kB / 461.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.5039, allocations: 15 kB / 461.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.5042, allocations: 68.67 kB / 461.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.5043, allocations: 52.45 kB / 461.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.5044, allocations: 0 / 461.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.5044, allocations: 15.33 kB / 461.9 MB, free: 38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.5045, allocations: 18.02 kB / 461.9 MB, free: 38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.5046, allocations: 3.312 kB / 462 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.5048, allocations: 75.89 kB / 462 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.5048, allocations: 13.88 kB / 462 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.5049, allocations: 31.36 kB / 462.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.505, allocations: 41.3 kB / 462.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.505, allocations: 0 / 462.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.505, allocations: 0.6875 kB / 462.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.505, allocations: 6 kB / 462.1 MB, free: 37.93 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.0003508/0.5054, allocations: 330.2 kB / 462.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5055, allocations: 11.84 kB / 462.5 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.5055, allocations: 0.9375 kB / 462.5 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/0.5056, allocations: 167.1 kB / 462.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.5057, allocations: 27.3 kB / 462.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.5057, allocations: 3.125 kB / 462.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5058, allocations: 52.77 kB / 462.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.5059, allocations: 3.656 kB / 462.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5059, allocations: 2.656 kB / 462.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.5059, allocations: 1.516 kB / 462.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.506, allocations: 17.53 kB / 462.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.5064, allocations: 329.7 kB / 463 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.5064, allocations: 22.33 kB / 463.1 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.5064, allocations: 8.797 kB / 463.1 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-05/0.5065, allocations: 87.08 kB / 463.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.5065, allocations: 32.44 kB / 463.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5066, allocations: 2.719 kB / 463.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000159/0.5067, allocations: 35.89 kB / 463.2 MB, free: 36.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.5068, allocations: 54.72 kB / 463.3 MB, free: 36.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.5068, allocations: 101.3 kB / 463.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.5069, allocations: 25.7 kB / 463.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.5069, allocations: 84.8 kB / 463.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.5069, allocations: 10.41 kB / 463.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.507, allocations: 12.78 kB / 463.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.507, allocations: 314.8 kB / 463.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.507, allocations: 9.906 kB / 463.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.5071, allocations: 14.09 kB / 463.8 MB, free: 36.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.5071, allocations: 20.97 kB / 463.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5071, allocations: 0 / 463.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.014e-05/0.5072, allocations: 50.89 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5072, allocations: 9.875 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5072, allocations: 0 / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5073, allocations: 0.5625 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.5073, allocations: 12.16 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5073, allocations: 0 / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.5073, allocations: 4.625 kB / 463.9 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5074, allocations: 3.031 kB / 463.9 MB, free: 36.06 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 7.216e-05/0.5074, allocations: 115.4 kB / 464.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.5075, allocations: 6.547 kB / 464.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.5076, allocations: 118.5 kB / 464.2 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/0.5077, allocations: 179.2 kB / 464.4 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-05/0.5077, allocations: 188.7 kB / 464.5 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.5078, allocations: 180.8 kB / 464.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.508, allocations: 415.8 kB / 465.1 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/0.508, allocations: 101.9 kB / 465.2 MB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.508, allocations: 101 kB / 465.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.471e-05/0.5081, allocations: 188.4 kB / 465.5 MB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.5081, allocations: 176.3 kB / 465.7 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-05/0.5082, allocations: 181 kB / 465.9 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.496e-05/0.5082, allocations: 181.1 kB / 466 MB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.5083, allocations: 315.6 kB / 466.3 MB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.5084, allocations: 182.7 kB / 466.5 MB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.5085, allocations: 185.1 kB / 466.7 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.5086, allocations: 108.8 kB / 466.8 MB, free: 33.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.5087, allocations: 176.8 kB / 467 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.5087, allocations: 107.9 kB / 467.1 MB, free: 32.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.5087, allocations: 86.25 kB / 467.2 MB, free: 32.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5088, allocations: 0 / 467.2 MB, free: 32.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.509, allocations: 12.72 kB / 467.2 MB, free: 32.71 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.0002906/0.5093, allocations: 203.3 kB / 467.4 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.5094, allocations: 7.469 kB / 467.4 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5094, allocations: 3.156 kB / 467.4 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.5094, allocations: 7.219 kB / 467.4 MB, free: 32.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.5099, allocations: 0.5248 MB / 467.9 MB, free: 32.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.5102, allocations: 195.2 kB / 468.1 MB, free: 31.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.5104, allocations: 0.6726 MB / 468.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.5104, allocations: 7.281 kB / 468.8 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.5105, allocations: 8.188 kB / 468.8 MB, free: 31.13 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5105, allocations: 4 kB / 468.8 MB, free: 31.13 MB / 382.1 MB Notification: Performance of Templates: time 0.003325/0.5138, allocations: 0.5637 MB / 469.4 MB, free: 31.07 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: