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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 152 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.00122/0.001221, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.591/1.591, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4209/0.4209, allocations: 54.96 MB / 324.7 MB, free: 0 / 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.002478/0.002479, allocations: 75.89 kB / 395.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1751, allocations: 59.6 MB / 455 MB, free: 108 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.2835/0.4586, allocations: 3.987 MB / 459 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001729/0.4589, allocations: 152.5 kB / 459.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.4589, allocations: 0 / 459.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.459, allocations: 6.594 kB / 459.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.4591, allocations: 15.69 kB / 459.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.4595, allocations: 72.59 kB / 459.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.4595, allocations: 30.33 kB / 459.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.4596, allocations: 3.594 kB / 459.2 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.4597, allocations: 15.44 kB / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.4597, allocations: 12.3 kB / 459.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.4597, allocations: 0 / 459.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.4599, allocations: 59.19 kB / 459.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.46, allocations: 10.72 kB / 459.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.46, allocations: 9.922 kB / 459.4 MB, free: 37.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.4602, allocations: 39.25 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4602, allocations: 3.281 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4602, allocations: 0 / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4602, allocations: 4.5 kB / 459.4 MB, free: 37.84 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.0003773/0.4606, allocations: 329.3 kB / 459.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.4606, allocations: 11.38 kB / 459.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4607, allocations: 0.9375 kB / 459.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.4608, allocations: 168.9 kB / 459.9 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.4608, allocations: 26.27 kB / 459.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.4609, allocations: 8.125 kB / 459.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.461, allocations: 47.3 kB / 460 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.461, allocations: 0 / 460 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.461, allocations: 0.7812 kB / 460 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4611, allocations: 2.969 kB / 460 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.554e-05/0.4611, allocations: 15.97 kB / 460 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.4615, allocations: 336.4 kB / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.4615, allocations: 25.23 kB / 460.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.4616, allocations: 9.422 kB / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.4616, allocations: 86.39 kB / 460.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.4617, allocations: 33.59 kB / 460.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4617, allocations: 0.5 kB / 460.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.4618, allocations: 35.86 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.4618, allocations: 56.25 kB / 460.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.4619, allocations: 93.08 kB / 460.7 MB, free: 36.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.4619, allocations: 27.73 kB / 460.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.462, allocations: 88.81 kB / 460.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-06/0.462, allocations: 5.875 kB / 460.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.462, allocations: 17.66 kB / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.4621, allocations: 321.3 kB / 461.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.4621, allocations: 7.25 kB / 461.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.4621, allocations: 17.06 kB / 461.1 MB, free: 36.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.4622, allocations: 18.84 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4622, allocations: 0 / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.575e-05/0.4622, allocations: 48.78 kB / 461.2 MB, free: 36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4623, allocations: 6.469 kB / 461.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4623, allocations: 4.281 kB / 461.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.4623, allocations: 2.906 kB / 461.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.4624, allocations: 11.03 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4624, allocations: 1.125 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.4624, allocations: 3.938 kB / 461.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4624, allocations: 3.688 kB / 461.2 MB, free: 35.99 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.195e-05/0.4625, allocations: 120.2 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4625, allocations: 3.188 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.701e-05/0.4626, allocations: 122 kB / 461.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/0.4627, allocations: 181.3 kB / 461.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/0.4627, allocations: 188.8 kB / 461.8 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/0.4627, allocations: 176.3 kB / 462 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.4629, allocations: 413.3 kB / 462.4 MB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.4629, allocations: 103.7 kB / 462.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.4629, allocations: 104.7 kB / 462.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.829e-05/0.463, allocations: 182.3 kB / 462.8 MB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.463, allocations: 183.1 kB / 463 MB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/0.463, allocations: 184.3 kB / 463.1 MB, free: 34.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.689e-05/0.4631, allocations: 179.9 kB / 463.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.016e-05/0.4631, allocations: 313.1 kB / 463.6 MB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.4632, allocations: 181.4 kB / 463.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.4632, allocations: 183.6 kB / 464 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4634, allocations: 103.9 kB / 464.1 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.4634, allocations: 184.6 kB / 464.3 MB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.4634, allocations: 105.3 kB / 464.4 MB, free: 32.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.885e-05/0.4635, allocations: 81.77 kB / 464.4 MB, free: 32.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4635, allocations: 4 kB / 464.5 MB, free: 32.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.4637, allocations: 11.78 kB / 464.5 MB, free: 32.67 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.0002554/0.464, allocations: 200.7 kB / 464.7 MB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.589e-05/0.4641, allocations: 9.75 kB / 464.7 MB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4641, allocations: 0 / 464.7 MB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4641, allocations: 6.562 kB / 464.7 MB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.4644, allocations: 462.9 kB / 465.1 MB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.4647, allocations: 172.9 kB / 465.3 MB, free: 31.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.4648, allocations: 0.675 MB / 466 MB, free: 31.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.4648, allocations: 14.91 kB / 466 MB, free: 31.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.4649, allocations: 10.56 kB / 466 MB, free: 31.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4649, allocations: 0 / 466 MB, free: 31.18 MB / 382.1 MB Notification: Performance of Templates: time 0.002673/0.4675, allocations: 0.5832 MB / 466.6 MB, free: 31.12 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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)