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.001375/0.001375, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001123/0.001123, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.414/0.414, allocations: 54.92 MB / 324.4 MB, free: 164 kB / 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.001425/0.001425, allocations: 64.23 kB / 394.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 59.59 MB / 454.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.2306/0.3564, allocations: 3.328 MB / 457.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 8.382e-05/0.3565, allocations: 45.81 kB / 457.8 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.3565, allocations: 0 / 457.8 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3567, allocations: 5.297 kB / 457.8 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.3568, allocations: 14.22 kB / 457.8 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3573, allocations: 160.8 kB / 458 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.3574, allocations: 34.39 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.3574, allocations: 2.531 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.436e-05/0.3575, allocations: 13.69 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.3575, allocations: 16.2 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3576, allocations: 0.5625 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.3578, allocations: 172 kB / 458.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.3579, allocations: 10.28 kB / 458.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.3579, allocations: 9.797 kB / 458.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3581, allocations: 134.2 kB / 458.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3581, allocations: 0.9375 kB / 458.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3582, allocations: 0 / 458.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.3582, allocations: 0 / 458.4 MB, free: 38.41 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.0003282/0.3585, allocations: 353 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3585, allocations: 9.281 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3586, allocations: 3.469 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.3587, allocations: 161.5 kB / 458.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.3587, allocations: 28.95 kB / 458.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3588, allocations: 4.219 kB / 458.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3589, allocations: 47.81 kB / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3589, allocations: 1.641 kB / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3589, allocations: 0 / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.359, allocations: 8.938 kB / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.359, allocations: 11.91 kB / 459 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.3597, allocations: 0.5758 MB / 459.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.3597, allocations: 20.86 kB / 459.6 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.3598, allocations: 12.2 kB / 459.6 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.36, allocations: 351.6 kB / 459.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.36, allocations: 30.56 kB / 460 MB, free: 36.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.36, allocations: 1.094 kB / 460 MB, free: 36.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001828/0.3602, allocations: 37.39 kB / 460 MB, free: 36.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3602, allocations: 52.31 kB / 460.1 MB, free: 36.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.3603, allocations: 110.7 kB / 460.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3603, allocations: 27.11 kB / 460.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.3604, allocations: 84.33 kB / 460.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.3604, allocations: 8.094 kB / 460.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3604, allocations: 19.28 kB / 460.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.3605, allocations: 317.7 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.3605, allocations: 6.781 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.3606, allocations: 18.2 kB / 460.6 MB, free: 36.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.3606, allocations: 20.72 kB / 460.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3606, allocations: 0 / 460.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.12e-05/0.3607, allocations: 51.08 kB / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3607, allocations: 8 kB / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3607, allocations: 0 / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3608, allocations: 0 / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.3608, allocations: 9.891 kB / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3608, allocations: 1.25 kB / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.3609, allocations: 0 / 460.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3609, allocations: 2.906 kB / 460.7 MB, free: 35.98 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.076e-05/0.361, allocations: 115.9 kB / 460.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.361, allocations: 0.5 kB / 460.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.3611, allocations: 123.1 kB / 461 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/0.3612, allocations: 179.2 kB / 461.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-05/0.3612, allocations: 180 kB / 461.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/0.3612, allocations: 180.5 kB / 461.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3614, allocations: 409.5 kB / 461.9 MB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.3614, allocations: 108.5 kB / 462 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3615, allocations: 101.8 kB / 462.1 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-05/0.3615, allocations: 183.9 kB / 462.3 MB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.3616, allocations: 181 kB / 462.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.378e-05/0.3616, allocations: 193.3 kB / 462.6 MB, free: 34.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.85e-05/0.3616, allocations: 176.3 kB / 462.8 MB, free: 33.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.3618, allocations: 317.9 kB / 463.1 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.3618, allocations: 184 kB / 463.3 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.3619, allocations: 178.5 kB / 463.5 MB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.362, allocations: 108.3 kB / 463.6 MB, free: 33.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3621, allocations: 182.2 kB / 463.8 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.3621, allocations: 105.5 kB / 463.9 MB, free: 32.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.616e-05/0.3621, allocations: 84.36 kB / 463.9 MB, free: 32.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3621, allocations: 3.719 kB / 463.9 MB, free: 32.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.3625, allocations: 35.06 kB / 464 MB, free: 32.66 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.0003028/0.3628, allocations: 243.9 kB / 464.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.3629, allocations: 11.52 kB / 464.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3629, allocations: 0 / 464.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3629, allocations: 0 / 464.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3634, allocations: 462.2 kB / 464.7 MB, free: 32.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.3636, allocations: 184.5 kB / 464.9 MB, free: 31.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.3638, allocations: 0.675 MB / 465.5 MB, free: 31.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3638, allocations: 4.203 kB / 465.5 MB, free: 31.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.3638, allocations: 10.31 kB / 465.6 MB, free: 31.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3638, allocations: 0 / 465.6 MB, free: 31.16 MB / 382.1 MB Notification: Performance of Templates: time 0.003703/0.3676, allocations: 1.158 MB / 466.7 MB, free: 31.04 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)