Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 96.09 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6235/0.6235, allocations: 115 MB / 375.7 MB, free: 7.594 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.738e-05, allocations: 3.844 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004023/0.004051, allocations: 4.177 MB / 485.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.004183, allocations: 156.8 kB / 485.8 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.004208, allocations: 1.281 kB / 485.8 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.004313, allocations: 5.625 kB / 485.8 MB, free: 8.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.004391, allocations: 14.95 kB / 485.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.004706, allocations: 88.25 kB / 485.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.004787, allocations: 39.59 kB / 486 MB, free: 8.891 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.004822, allocations: 1.875 kB / 486 MB, free: 8.891 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.004873, allocations: 18.38 kB / 486 MB, free: 8.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.004947, allocations: 15.5 kB / 486 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.00496, allocations: 0 / 486 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.005132, allocations: 56.77 kB / 486 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.005177, allocations: 12.86 kB / 486.1 MB, free: 8.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.005197, allocations: 6.25 kB / 486.1 MB, free: 8.852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.005325, allocations: 65.58 kB / 486.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005327, allocations: 0 / 486.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005328, allocations: 2.062 kB / 486.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.005332, allocations: 0 / 486.1 MB, free: 8.836 MB / 410.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.0002677/0.0056, allocations: 361.6 kB / 486.5 MB, free: 8.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.005637, allocations: 8.469 kB / 486.5 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.005681, allocations: 11.31 kB / 486.5 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.156e-05/0.005742, allocations: 111.4 kB / 486.6 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.005793, allocations: 53.06 kB / 486.7 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.005806, allocations: 3.094 kB / 486.7 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.005919, allocations: 75.7 kB / 486.7 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005926, allocations: 192 / 486.7 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005936, allocations: 5.281 kB / 486.7 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.005959, allocations: 1.875 kB / 486.7 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.005985, allocations: 12.22 kB / 486.8 MB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.00629, allocations: 261.4 kB / 487 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.992e-05/0.00632, allocations: 25.47 kB / 487 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.006334, allocations: 17.44 kB / 487.1 MB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.006376, allocations: 10.27 kB / 487.1 MB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.006393, allocations: 35.73 kB / 487.1 MB, free: 7.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.006394, allocations: 0 / 487.1 MB, free: 7.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.006512, allocations: 44.95 kB / 487.1 MB, free: 7.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.61e-05/0.006528, allocations: 55.34 kB / 487.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.006579, allocations: 159.5 kB / 487.4 MB, free: 7.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.006586, allocations: 25.7 kB / 487.4 MB, free: 7.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.006762, allocations: 138.3 kB / 487.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/0.006767, allocations: 3.938 kB / 487.5 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.006791, allocations: 19.72 kB / 487.5 MB, free: 23.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006899, allocations: 0.4897 MB / 488 MB, free: 22.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.006911, allocations: 2.562 kB / 488 MB, free: 22.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.006927, allocations: 19.5 kB / 488.1 MB, free: 22.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.006954, allocations: 32.23 kB / 488.1 MB, free: 22.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006956, allocations: 0 / 488.1 MB, free: 22.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.247e-05/0.007008, allocations: 51.44 kB / 488.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.00702, allocations: 5.125 kB / 488.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007024, allocations: 1.312 kB / 488.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.007037, allocations: 1.938 kB / 488.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/0.007079, allocations: 7.656 kB / 488.1 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007084, allocations: 2.125 kB / 488.1 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.007097, allocations: 5.281 kB / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.007106, allocations: 2.875 kB / 488.2 MB, free: 22.75 MB / 426.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 () * 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 5.813e-05/0.007164, allocations: 158.6 kB / 488.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.00718, allocations: 5.062 kB / 488.3 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.007276, allocations: 164.7 kB / 488.5 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.044e-05/0.007327, allocations: 269.1 kB / 488.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.226e-05/0.007379, allocations: 271.2 kB / 489 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.228e-05/0.007431, allocations: 271 kB / 489.3 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.007567, allocations: 0.4913 MB / 489.8 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.007596, allocations: 148.9 kB / 489.9 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.007625, allocations: 150.3 kB / 490.1 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.372e-05/0.007678, allocations: 273.2 kB / 490.3 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.007733, allocations: 272.8 kB / 490.6 MB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.558e-05/0.007788, allocations: 266.4 kB / 490.8 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-05/0.007841, allocations: 274.2 kB / 491.1 MB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.007953, allocations: 448.9 kB / 491.6 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.00799, allocations: 155 kB / 491.7 MB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.008053, allocations: 266.1 kB / 492 MB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.008153, allocations: 158.8 kB / 492.1 MB, free: 18.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.008216, allocations: 273 kB / 492.4 MB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.008246, allocations: 146.1 kB / 492.5 MB, free: 18.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.956e-05/0.008285, allocations: 127 kB / 492.7 MB, free: 18.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008285, allocations: 0 / 492.7 MB, free: 18.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.008456, allocations: 16.59 kB / 492.7 MB, free: 18.13 MB / 426.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 () * 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.0001465/0.008602, allocations: 237.8 kB / 492.9 MB, free: 17.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.806e-05/0.00867, allocations: 18.83 kB / 492.9 MB, free: 17.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008673, allocations: 0 / 492.9 MB, free: 17.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.008674, allocations: 2.906 kB / 492.9 MB, free: 17.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.009001, allocations: 0.7094 MB / 493.6 MB, free: 17.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.009416, allocations: 239 kB / 493.9 MB, free: 16.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.009445, allocations: 51.36 kB / 493.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.00948, allocations: 10.31 kB / 493.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.009503, allocations: 10.72 kB / 493.9 MB, free: 16.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/0.009504, allocations: 0 / 493.9 MB, free: 16.88 MB / 426.7 MB Notification: Performance of Templates: time 0.002472/0.01198, allocations: 0.666 MB / 494.6 MB, free: 16.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9149906360544264]