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.2777/0.2777, allocations: 54.34 MB / 66.9 MB, free: 6.074 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.001051/0.001051, allocations: 184.5 kB / 80.71 MB, free: 15.39 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.54/1.54, allocations: 194.2 MB / 288.6 MB, free: 14.98 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.00188/0.00188, allocations: 121.4 kB / 346.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.477e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.231, allocations: 290.4 MB / 0.7426 GB, free: 86.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.231, allocations: 79.95 kB / 0.7427 GB, free: 86.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/1.246, allocations: 7.642 MB / 0.7502 GB, free: 80.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.246, allocations: 3.938 kB / 0.7502 GB, free: 80.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/1.246, allocations: 4 kB / 0.7502 GB, free: 80.79 MB / 490.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.0002576/1.246, allocations: 342.3 kB / 0.7505 GB, free: 80.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.246, allocations: 12.03 kB / 0.7505 GB, free: 80.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/1.246, allocations: 3.906 kB / 0.7505 GB, free: 80.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/1.247, allocations: 163.1 kB / 0.7507 GB, free: 80.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/1.247, allocations: 29.7 kB / 0.7507 GB, free: 80.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/1.247, allocations: 0 / 0.7507 GB, free: 80.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/1.247, allocations: 48.83 kB / 0.7507 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/1.247, allocations: 7.984 kB / 0.7508 GB, free: 80.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.247, allocations: 0 / 0.7508 GB, free: 80.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/1.247, allocations: 0 / 0.7508 GB, free: 80.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/1.247, allocations: 15.8 kB / 0.7508 GB, free: 80.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/1.247, allocations: 0.5969 MB / 0.7514 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.71e-05/1.247, allocations: 18.58 kB / 0.7514 GB, free: 79.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/1.247, allocations: 12.8 kB / 0.7514 GB, free: 79.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/1.248, allocations: 359.5 kB / 0.7517 GB, free: 78.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/1.248, allocations: 38.55 kB / 0.7518 GB, free: 78.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.248, allocations: 0 / 0.7518 GB, free: 78.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.575e-05/1.248, allocations: 32.45 kB / 0.7518 GB, free: 78.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/1.248, allocations: 51.41 kB / 0.7518 GB, free: 78.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/1.248, allocations: 92.12 kB / 0.7519 GB, free: 78.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/1.248, allocations: 29.73 kB / 0.752 GB, free: 78.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/1.248, allocations: 92.03 kB / 0.752 GB, free: 78.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/1.248, allocations: 0 / 0.752 GB, free: 78.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-06/1.248, allocations: 0 / 0.752 GB, free: 78.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/1.248, allocations: 313.6 kB / 0.7523 GB, free: 78.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/1.248, allocations: 4 kB / 0.7524 GB, free: 78.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/1.248, allocations: 17.66 kB / 0.7524 GB, free: 78.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.649e-05/1.248, allocations: 15.11 kB / 0.7524 GB, free: 78.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/1.248, allocations: 0 / 0.7524 GB, free: 78.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.129e-05/1.248, allocations: 48.62 kB / 0.7524 GB, free: 78.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.248, allocations: 4 kB / 0.7524 GB, free: 78.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.248, allocations: 7.938 kB / 0.7524 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.248, allocations: 3.984 kB / 0.7524 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/1.248, allocations: 4 kB / 0.7524 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/1.248, allocations: 0 / 0.7524 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/1.248, allocations: 4 kB / 0.7525 GB, free: 78.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.248, allocations: 12 kB / 0.7525 GB, free: 78.12 MB / 490.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 4.837e-05/1.248, allocations: 101 kB / 0.7526 GB, free: 78.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/1.248, allocations: 7.953 kB / 0.7526 GB, free: 78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/1.248, allocations: 116.4 kB / 0.7527 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/1.249, allocations: 188.1 kB / 0.7529 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/1.249, allocations: 180.3 kB / 0.753 GB, free: 77.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.265e-05/1.249, allocations: 180.2 kB / 0.7532 GB, free: 77.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.249, allocations: 404.3 kB / 0.7536 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/1.249, allocations: 101 kB / 0.7537 GB, free: 76.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/1.249, allocations: 104.9 kB / 0.7538 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.146e-05/1.249, allocations: 191.5 kB / 0.754 GB, free: 76.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/1.249, allocations: 188.2 kB / 0.7541 GB, free: 76.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.872e-05/1.249, allocations: 176.3 kB / 0.7543 GB, free: 76.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.695e-05/1.249, allocations: 180.2 kB / 0.7545 GB, free: 75.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.592e-05/1.249, allocations: 303.1 kB / 0.7548 GB, free: 75.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/1.249, allocations: 192.7 kB / 0.755 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/1.249, allocations: 180.2 kB / 0.7551 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/1.249, allocations: 112.9 kB / 0.7552 GB, free: 75.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/1.249, allocations: 176.3 kB / 0.7554 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.249, allocations: 101 kB / 0.7555 GB, free: 74.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.751e-05/1.249, allocations: 86.23 kB / 0.7556 GB, free: 74.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.249, allocations: 0 / 0.7556 GB, free: 74.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002664/1.25, allocations: 42.86 kB / 0.7556 GB, free: 74.68 MB / 490.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.0002145/1.25, allocations: 238.7 kB / 0.7559 GB, free: 74.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.873e-05/1.25, allocations: 11.06 kB / 0.7559 GB, free: 74.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.25, allocations: 0 / 0.7559 GB, free: 74.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/1.25, allocations: 0 / 0.7559 GB, free: 74.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.25, allocations: 0.5261 MB / 0.7564 GB, free: 73.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001504/1.25, allocations: 136 kB / 0.7565 GB, free: 73.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/1.251, allocations: 0.677 MB / 0.7572 GB, free: 73.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.171e-05/1.251, allocations: 4 kB / 0.7572 GB, free: 73.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/1.251, allocations: 11.44 kB / 0.7572 GB, free: 73.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.251, allocations: 0 / 0.7572 GB, free: 73.04 MB / 490.7 MB Notification: Performance of Templates: time 0.003273/1.254, allocations: 1.089 MB / 0.7582 GB, free: 71.99 MB / 490.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)