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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3129/0.3129, allocations: 55.01 MB / 69.95 MB, free: 8.453 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001219/0.001219, allocations: 201.8 kB / 83.98 MB, free: 10.71 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.801/1.801, allocations: 194.4 MB / 292.3 MB, free: 3.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00166/0.00166, allocations: 112.7 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.152, allocations: 290.5 MB / 0.7491 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.152, allocations: 79.95 kB / 0.7491 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0152/1.168, allocations: 7.687 MB / 0.7566 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/1.168, allocations: 0 / 0.7566 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.168, allocations: 4 kB / 0.7566 GB, free: 149.6 MB / 0.4948 GB 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.0003386/1.168, allocations: 347.9 kB / 0.757 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.168, allocations: 8.031 kB / 0.757 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/1.168, allocations: 7.938 kB / 0.757 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/1.168, allocations: 167 kB / 0.7571 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.521e-05/1.168, allocations: 29.64 kB / 0.7572 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/1.168, allocations: 4 kB / 0.7572 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/1.168, allocations: 45.62 kB / 0.7572 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.169, allocations: 0 / 0.7572 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.169, allocations: 4 kB / 0.7572 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/1.169, allocations: 0 / 0.7572 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/1.169, allocations: 15.98 kB / 0.7572 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/1.169, allocations: 0.5872 MB / 0.7578 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/1.169, allocations: 22.52 kB / 0.7578 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.169, allocations: 344.5 kB / 0.7582 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.17, allocations: 34.56 kB / 0.7582 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/1.17, allocations: 4 kB / 0.7582 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001657/1.17, allocations: 33.64 kB / 0.7582 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.17, allocations: 51.41 kB / 0.7583 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/1.17, allocations: 96.98 kB / 0.7584 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.17, allocations: 25.7 kB / 0.7584 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/1.17, allocations: 88.05 kB / 0.7585 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-06/1.17, allocations: 4.031 kB / 0.7585 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.17, allocations: 4 kB / 0.7585 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/1.17, allocations: 312.5 kB / 0.7588 GB, free: 147 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/1.17, allocations: 8 kB / 0.7588 GB, free: 147 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/1.17, allocations: 17.7 kB / 0.7588 GB, free: 147 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/1.17, allocations: 4 kB / 0.7588 GB, free: 147 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.17, allocations: 0 / 0.7588 GB, free: 147 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.551e-05/1.17, allocations: 57.58 kB / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.17, allocations: 4 kB / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.17, allocations: 0 / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.17, allocations: 4 kB / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/1.17, allocations: 4 kB / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.17, allocations: 0 / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/1.17, allocations: 0 / 0.7589 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.17, allocations: 4 kB / 0.7589 GB, free: 146.9 MB / 0.4948 GB 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 6.229e-05/1.17, allocations: 114.3 kB / 0.759 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/1.17, allocations: 12.02 kB / 0.759 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.171, allocations: 112.9 kB / 0.7591 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/1.171, allocations: 180.5 kB / 0.7593 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-05/1.171, allocations: 188.2 kB / 0.7595 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/1.171, allocations: 180.2 kB / 0.7596 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/1.171, allocations: 409.2 kB / 0.76 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/1.171, allocations: 105 kB / 0.7601 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/1.171, allocations: 105 kB / 0.7602 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-05/1.171, allocations: 188.8 kB / 0.7604 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.171, allocations: 184.2 kB / 0.7606 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.62e-05/1.171, allocations: 184.2 kB / 0.7608 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.197e-05/1.171, allocations: 180.3 kB / 0.7609 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.394e-05/1.171, allocations: 303.8 kB / 0.7612 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/1.171, allocations: 190.7 kB / 0.7614 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/1.171, allocations: 180.2 kB / 0.7616 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.171, allocations: 116.9 kB / 0.7617 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/1.171, allocations: 180.2 kB / 0.7619 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/1.171, allocations: 104.9 kB / 0.762 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.482e-05/1.171, allocations: 79.28 kB / 0.762 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.172, allocations: 0 / 0.762 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002864/1.172, allocations: 39.92 kB / 0.7621 GB, free: 143.4 MB / 0.4948 GB 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.0002416/1.172, allocations: 226.7 kB / 0.7623 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.228e-05/1.172, allocations: 12.69 kB / 0.7623 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.172, allocations: 4 kB / 0.7623 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.172, allocations: 8.062 kB / 0.7623 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/1.172, allocations: 0.5185 MB / 0.7628 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/1.173, allocations: 184.4 kB / 0.763 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/1.173, allocations: 0.6848 MB / 0.7637 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.735e-05/1.173, allocations: 4 kB / 0.7637 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/1.173, allocations: 7.438 kB / 0.7637 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/1.173, allocations: 0 / 0.7637 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.003461/1.176, allocations: 1.085 MB / 0.7647 GB, free: 140.6 MB / 0.4948 GB 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)