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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.001559, allocations: 190.3 kB / 16.14 MB, free: 6.703 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 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4334/0.4334, allocations: 54.93 MB / 324.3 MB, free: 228 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.0014/0.0014, allocations: 63.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1432, allocations: 59.59 MB / 454.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.2426/0.3859, allocations: 3.331 MB / 457.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 8.71e-05/0.386, allocations: 45.92 kB / 457.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.3861, allocations: 1.375 kB / 457.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.3862, allocations: 6.047 kB / 457.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.3863, allocations: 9.547 kB / 457.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.3868, allocations: 160 kB / 457.8 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.3869, allocations: 57.08 kB / 457.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.3869, allocations: 0.6562 kB / 457.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.387, allocations: 13.14 kB / 457.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.3871, allocations: 21.64 kB / 457.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.3871, allocations: 2.844 kB / 457.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.3874, allocations: 168.2 kB / 458.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.3874, allocations: 7.156 kB / 458.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.3875, allocations: 9.359 kB / 458.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.3878, allocations: 135.4 kB / 458.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3878, allocations: 1 kB / 458.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3878, allocations: 3.188 kB / 458.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3878, allocations: 1.812 kB / 458.2 MB, free: 38.12 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.0004205/0.3882, allocations: 339.9 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3883, allocations: 10.88 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.3884, allocations: 4.719 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.3885, allocations: 164.2 kB / 458.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.3885, allocations: 29.89 kB / 458.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3885, allocations: 3.25 kB / 458.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3887, allocations: 50.78 kB / 458.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3887, allocations: 0 / 458.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3887, allocations: 0 / 458.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3888, allocations: 6.531 kB / 458.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.3888, allocations: 14.17 kB / 458.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.3894, allocations: 0.5849 MB / 459.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.276e-05/0.3894, allocations: 17.33 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.3894, allocations: 4.859 kB / 459.5 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.3896, allocations: 349.4 kB / 459.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3896, allocations: 31.38 kB / 459.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/0.3896, allocations: 0 / 459.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.3898, allocations: 41.08 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.3898, allocations: 51.41 kB / 459.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.3899, allocations: 106.3 kB / 460 MB, free: 36.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.3899, allocations: 25.7 kB / 460 MB, free: 36.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.3899, allocations: 83.55 kB / 460.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.39, allocations: 12.66 kB / 460.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.39, allocations: 16.94 kB / 460.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.39, allocations: 317.9 kB / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.3901, allocations: 5.375 kB / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.3901, allocations: 23.3 kB / 460.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.3901, allocations: 21.94 kB / 460.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3901, allocations: 1.531 kB / 460.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.465e-05/0.3902, allocations: 42.25 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3902, allocations: 5.375 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3902, allocations: 1.656 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3902, allocations: 2.656 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.3903, allocations: 15.73 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3903, allocations: 1.344 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.3903, allocations: 0 / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3904, allocations: 2.5 kB / 460.6 MB, free: 35.71 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.887e-05/0.3904, allocations: 113.3 kB / 460.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3904, allocations: 0 / 460.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.3905, allocations: 129.6 kB / 460.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.3906, allocations: 181.3 kB / 461 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/0.3906, allocations: 176.3 kB / 461.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.3906, allocations: 184.9 kB / 461.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3908, allocations: 411.9 kB / 461.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.3908, allocations: 103 kB / 461.9 MB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.3908, allocations: 103.5 kB / 462 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.673e-05/0.3909, allocations: 180.5 kB / 462.1 MB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3909, allocations: 184.2 kB / 462.3 MB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/0.3909, allocations: 176.3 kB / 462.5 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-05/0.391, allocations: 193.1 kB / 462.7 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.391, allocations: 312.5 kB / 463 MB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.3911, allocations: 184.3 kB / 463.2 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3911, allocations: 184.2 kB / 463.3 MB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3912, allocations: 106.7 kB / 463.4 MB, free: 32.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.3913, allocations: 181 kB / 463.6 MB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3913, allocations: 102.8 kB / 463.7 MB, free: 32.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.3913, allocations: 88.31 kB / 463.8 MB, free: 32.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3913, allocations: 3.219 kB / 463.8 MB, free: 32.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3916, allocations: 35.06 kB / 463.8 MB, free: 32.38 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.0002693/0.3919, allocations: 238.7 kB / 464.1 MB, free: 32.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.724e-05/0.392, allocations: 9.406 kB / 464.1 MB, free: 32.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.392, allocations: 0.5 kB / 464.1 MB, free: 32.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.392, allocations: 3.562 kB / 464.1 MB, free: 32.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.3924, allocations: 0.5316 MB / 464.6 MB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.3927, allocations: 179.2 kB / 464.8 MB, free: 31.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.3928, allocations: 0.6779 MB / 465.5 MB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.3929, allocations: 10.95 kB / 465.5 MB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.3929, allocations: 7.438 kB / 465.5 MB, free: 30.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3929, allocations: 0 / 465.5 MB, free: 30.8 MB / 382.1 MB Notification: Performance of Templates: time 0.003579/0.3965, allocations: 1.142 MB / 466.6 MB, free: 30.68 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)