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.3471/0.3471, allocations: 54.42 MB / 61.89 MB, free: 13.79 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.001086/0.001086, allocations: 184.1 kB / 75.61 MB, free: 0.8086 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.687/1.687, allocations: 194.3 MB / 283.5 MB, free: 14.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001728, allocations: 103.4 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.712e-05, allocations: 0 / 405.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4617, allocations: 57.65 MB / 463.2 MB, free: 51.79 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7605/1.222, allocations: 289.8 MB / 0.7353 GB, free: 50.56 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.223, allocations: 80.55 kB / 0.7354 GB, free: 50.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01572/1.238, allocations: 7.596 MB / 0.7428 GB, free: 44.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.238, allocations: 2.156 kB / 0.7428 GB, free: 44.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/1.238, allocations: 4 kB / 0.7428 GB, free: 44.55 MB / 474.7 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.0003229/1.239, allocations: 338.7 kB / 0.7431 GB, free: 44.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.239, allocations: 8.031 kB / 0.7431 GB, free: 44.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/1.239, allocations: 7.906 kB / 0.7431 GB, free: 44.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.239, allocations: 160.5 kB / 0.7433 GB, free: 43.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/1.239, allocations: 25.7 kB / 0.7433 GB, free: 43.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/1.239, allocations: 11.94 kB / 0.7433 GB, free: 43.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/1.239, allocations: 15.92 kB / 0.7433 GB, free: 43.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/1.239, allocations: 37.64 kB / 0.7434 GB, free: 43.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.239, allocations: 3.984 kB / 0.7434 GB, free: 43.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.239, allocations: 0 / 0.7434 GB, free: 43.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/1.239, allocations: 4 kB / 0.7434 GB, free: 43.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/1.24, allocations: 0.5784 MB / 0.7439 GB, free: 43.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/1.24, allocations: 22.58 kB / 0.7439 GB, free: 43.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/1.24, allocations: 12.75 kB / 0.744 GB, free: 43.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/1.24, allocations: 359.9 kB / 0.7443 GB, free: 42.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.24, allocations: 34.56 kB / 0.7443 GB, free: 42.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/1.24, allocations: 3.938 kB / 0.7443 GB, free: 42.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002859/1.241, allocations: 41 kB / 0.7444 GB, free: 42.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/1.241, allocations: 55.44 kB / 0.7444 GB, free: 42.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/1.241, allocations: 90.69 kB / 0.7445 GB, free: 42.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/1.241, allocations: 29.7 kB / 0.7445 GB, free: 42.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/1.241, allocations: 88.2 kB / 0.7446 GB, free: 42.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-06/1.241, allocations: 0 / 0.7446 GB, free: 42.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.241, allocations: 0 / 0.7446 GB, free: 42.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/1.241, allocations: 314.8 kB / 0.7449 GB, free: 42.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/1.241, allocations: 4 kB / 0.7449 GB, free: 42.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/1.241, allocations: 25.28 kB / 0.745 GB, free: 42.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/1.241, allocations: 15.98 kB / 0.745 GB, free: 41.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.241, allocations: 1.969 kB / 0.745 GB, free: 41.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001622/1.241, allocations: 65.02 kB / 0.745 GB, free: 41.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.241, allocations: 7.953 kB / 0.745 GB, free: 41.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.241, allocations: 2.875 kB / 0.745 GB, free: 41.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.241, allocations: 64 / 0.745 GB, free: 41.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/1.241, allocations: 11.98 kB / 0.7451 GB, free: 41.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.242, allocations: 4 kB / 0.7451 GB, free: 41.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/1.242, allocations: 3.938 kB / 0.7451 GB, free: 41.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.242, allocations: 0 / 0.7451 GB, free: 41.9 MB / 474.7 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 () * 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.125e-05/1.242, allocations: 105 kB / 0.7452 GB, free: 41.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/1.242, allocations: 0 / 0.7452 GB, free: 41.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/1.242, allocations: 125.2 kB / 0.7453 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/1.242, allocations: 180.3 kB / 0.7455 GB, free: 41.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.643e-05/1.242, allocations: 180.2 kB / 0.7456 GB, free: 41.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/1.242, allocations: 176.3 kB / 0.7458 GB, free: 41.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/1.242, allocations: 385.4 kB / 0.7462 GB, free: 40.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.242, allocations: 108.9 kB / 0.7463 GB, free: 40.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/1.242, allocations: 109 kB / 0.7464 GB, free: 40.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.746e-05/1.242, allocations: 176.3 kB / 0.7465 GB, free: 40.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/1.242, allocations: 184.2 kB / 0.7467 GB, free: 40.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.149e-05/1.242, allocations: 176.3 kB / 0.7469 GB, free: 39.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-05/1.242, allocations: 184.7 kB / 0.7471 GB, free: 39.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/1.242, allocations: 303.7 kB / 0.7474 GB, free: 39.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/1.242, allocations: 186.1 kB / 0.7475 GB, free: 39.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/1.242, allocations: 184.1 kB / 0.7477 GB, free: 39.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/1.243, allocations: 112.7 kB / 0.7478 GB, free: 38.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/1.243, allocations: 180.2 kB / 0.748 GB, free: 38.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.243, allocations: 112.3 kB / 0.7481 GB, free: 38.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.388e-05/1.243, allocations: 79.56 kB / 0.7482 GB, free: 38.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.243, allocations: 0 / 0.7482 GB, free: 38.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002674/1.243, allocations: 39.67 kB / 0.7482 GB, free: 38.5 MB / 474.7 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 () * 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.0002445/1.243, allocations: 233.6 kB / 0.7484 GB, free: 38.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.164e-05/1.243, allocations: 11.94 kB / 0.7484 GB, free: 38.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.243, allocations: 0 / 0.7484 GB, free: 38.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.243, allocations: 0 / 0.7484 GB, free: 38.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/1.244, allocations: 0.5259 MB / 0.749 GB, free: 37.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/1.244, allocations: 126.8 kB / 0.7491 GB, free: 37.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/1.244, allocations: 0.6729 MB / 0.7497 GB, free: 36.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.702e-05/1.244, allocations: 7.984 kB / 0.7497 GB, free: 36.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/1.244, allocations: 7.438 kB / 0.7497 GB, free: 36.87 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/1.244, allocations: 4 kB / 0.7497 GB, free: 36.86 MB / 474.7 MB Notification: Performance of Templates: time 0.003392/1.248, allocations: 1.016 MB / 0.7507 GB, free: 35.91 MB / 474.7 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)