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.001041/0.001041, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001347/0.001347, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4199/0.4199, allocations: 54.97 MB / 325.3 MB, free: 0.668 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.0006117/0.0006121, allocations: 15.98 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3254, allocations: 60.73 MB / 457.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002666/0.3281, allocations: 2.451 MB / 459.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.3285, allocations: 330.7 kB / 460.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.3285, allocations: 0 / 460.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3286, allocations: 8.016 kB / 460.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.3287, allocations: 11.95 kB / 460.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3291, allocations: 132.7 kB / 460.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.3291, allocations: 19.78 kB / 460.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.3292, allocations: 0 / 460.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.3292, allocations: 14.05 kB / 460.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.3293, allocations: 3.156 kB / 460.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3293, allocations: 1.562 kB / 460.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.3296, allocations: 104.4 kB / 460.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.3296, allocations: 9.562 kB / 460.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.3296, allocations: 29.48 kB / 460.4 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.3298, allocations: 57.09 kB / 460.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.3298, allocations: 1.531 kB / 460.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3298, allocations: 0 / 460.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.3298, allocations: 1.969 kB / 460.5 MB, free: 37.79 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.0002992/0.3301, allocations: 343.6 kB / 460.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3301, allocations: 8.594 kB / 460.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3302, allocations: 2.75 kB / 460.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.37e-05/0.3303, allocations: 165.3 kB / 461 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.3303, allocations: 26.67 kB / 461 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.3303, allocations: 0 / 461 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3305, allocations: 50.58 kB / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3305, allocations: 1.719 kB / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3305, allocations: 0 / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.3305, allocations: 6.891 kB / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.3306, allocations: 15.08 kB / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.331, allocations: 0.5768 MB / 461.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.183e-05/0.3311, allocations: 16.5 kB / 461.7 MB, free: 36.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.3312, allocations: 338.8 kB / 462 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3313, allocations: 34.12 kB / 462 MB, free: 36.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3313, allocations: 0 / 462 MB, free: 36.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.3314, allocations: 34.27 kB / 462.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.3314, allocations: 52.69 kB / 462.1 MB, free: 36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.3315, allocations: 105.5 kB / 462.2 MB, free: 35.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3315, allocations: 26.86 kB / 462.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.3316, allocations: 90.17 kB / 462.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.3316, allocations: 4.656 kB / 462.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.3316, allocations: 0.5312 kB / 462.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.3316, allocations: 318.5 kB / 462.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.3317, allocations: 0.875 kB / 462.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.3317, allocations: 22.69 kB / 462.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.3317, allocations: 8.562 kB / 462.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3317, allocations: 0 / 462.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.135e-05/0.3318, allocations: 44.75 kB / 462.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3318, allocations: 10.17 kB / 462.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3318, allocations: 0 / 462.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3318, allocations: 6.719 kB / 462.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.3319, allocations: 5.906 kB / 462.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3319, allocations: 4 kB / 462.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.3319, allocations: 3.25 kB / 462.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3319, allocations: 1 kB / 462.8 MB, free: 35.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.332, allocations: 116.4 kB / 462.9 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.332, allocations: 12.11 kB / 462.9 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.3321, allocations: 115.9 kB / 463 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.3322, allocations: 180.9 kB / 463.2 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/0.3322, allocations: 180.7 kB / 463.4 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/0.3322, allocations: 183.2 kB / 463.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.3324, allocations: 402.1 kB / 463.9 MB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.3324, allocations: 102 kB / 464 MB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.3324, allocations: 109 kB / 464.1 MB, free: 33.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.158e-05/0.3325, allocations: 186.5 kB / 464.3 MB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.3325, allocations: 185.5 kB / 464.5 MB, free: 33.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-05/0.3325, allocations: 177.1 kB / 464.7 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-05/0.3326, allocations: 180.4 kB / 464.8 MB, free: 33.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.541e-05/0.3326, allocations: 315.3 kB / 465.2 MB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.3327, allocations: 184.4 kB / 465.3 MB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.3327, allocations: 186.6 kB / 465.5 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3328, allocations: 108.9 kB / 465.6 MB, free: 32.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.3329, allocations: 180.3 kB / 465.8 MB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3329, allocations: 104.5 kB / 465.9 MB, free: 32.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.3329, allocations: 84.48 kB / 466 MB, free: 32.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3329, allocations: 0.6562 kB / 466 MB, free: 32.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3332, allocations: 32.56 kB / 466 MB, free: 32.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001823/0.3334, allocations: 233.9 kB / 466.2 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.13e-05/0.3335, allocations: 9.312 kB / 466.2 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3335, allocations: 0 / 466.2 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.3335, allocations: 0 / 466.2 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3337, allocations: 0.5315 MB / 466.8 MB, free: 31.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.3339, allocations: 189 kB / 467 MB, free: 31.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.334, allocations: 0.6781 MB / 467.6 MB, free: 30.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.898e-05/0.3341, allocations: 8.453 kB / 467.7 MB, free: 30.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.3341, allocations: 10.5 kB / 467.7 MB, free: 30.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3341, allocations: 0 / 467.7 MB, free: 30.47 MB / 382.1 MB Notification: Performance of Templates: time 0.003129/0.3372, allocations: 1.078 MB / 468.7 MB, free: 30.34 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: