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.001004/0.001004, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001493/0.001493, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7041/0.7041, allocations: 115 MB / 376 MB, free: 7.461 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.643e-06/1.643e-06, allocations: 0.5469 kB / 481.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.122e-05, allocations: 3.375 kB / 481.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004288/0.004309, allocations: 4.154 MB / 486.1 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.004453, allocations: 155.2 kB / 486.2 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.004486, allocations: 4.969 kB / 486.2 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.004589, allocations: 7.938 kB / 486.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.004664, allocations: 5.875 kB / 486.3 MB, free: 8.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.004968, allocations: 89.5 kB / 486.3 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.005041, allocations: 36.81 kB / 486.4 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.005079, allocations: 4.672 kB / 486.4 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.005138, allocations: 15.95 kB / 486.4 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.005209, allocations: 17.78 kB / 486.4 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.005221, allocations: 1.156 kB / 486.4 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.005387, allocations: 58.03 kB / 486.5 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.00543, allocations: 13.98 kB / 486.5 MB, free: 8.648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.005453, allocations: 6.469 kB / 486.5 MB, free: 8.648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.005579, allocations: 64.8 kB / 486.6 MB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005581, allocations: 1.031 kB / 486.6 MB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.005582, allocations: 0 / 486.6 MB, free: 8.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005585, allocations: 0 / 486.6 MB, free: 8.633 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.0002646/0.00585, allocations: 370.8 kB / 486.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.005886, allocations: 10.19 kB / 486.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.005913, allocations: 2.281 kB / 486.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.552e-05/0.005968, allocations: 112.1 kB / 487 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.006009, allocations: 53.38 kB / 487.1 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.006017, allocations: 1.625 kB / 487.1 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.006115, allocations: 79.72 kB / 487.2 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006123, allocations: 192 / 487.2 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.00613, allocations: 3.938 kB / 487.2 MB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.006154, allocations: 9.359 kB / 487.2 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.006173, allocations: 4.25 kB / 487.2 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.00643, allocations: 245.7 kB / 487.4 MB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.488e-05/0.006455, allocations: 25.47 kB / 487.5 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-06/0.006463, allocations: 9.562 kB / 487.5 MB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.0065, allocations: 9.156 kB / 487.5 MB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00652, allocations: 43.48 kB / 487.5 MB, free: 7.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.006521, allocations: 3.938 kB / 487.5 MB, free: 7.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001013/0.006622, allocations: 40.06 kB / 487.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.494e-05/0.006637, allocations: 52.47 kB / 487.6 MB, free: 7.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.006688, allocations: 163 kB / 487.8 MB, free: 7.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.006696, allocations: 25.7 kB / 487.8 MB, free: 7.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.006891, allocations: 133.7 kB / 487.9 MB, free: 23.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/0.006896, allocations: 3.938 kB / 487.9 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.006934, allocations: 23.62 kB / 488 MB, free: 23.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.007039, allocations: 497.8 kB / 488.4 MB, free: 22.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.007048, allocations: 4.188 kB / 488.4 MB, free: 22.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.007063, allocations: 22.92 kB / 488.5 MB, free: 22.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.007087, allocations: 27.45 kB / 488.5 MB, free: 22.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007089, allocations: 0 / 488.5 MB, free: 22.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.512e-05/0.007144, allocations: 59.41 kB / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.007155, allocations: 4.625 kB / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.00716, allocations: 0.5 kB / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007172, allocations: 1.812 kB / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.007204, allocations: 8.156 kB / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.007207, allocations: 7.047 kB / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.007219, allocations: 0 / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007226, allocations: 3.938 kB / 488.6 MB, free: 22.57 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.526e-05/0.007281, allocations: 156.5 kB / 488.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.007296, allocations: 7.406 kB / 488.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.007401, allocations: 167.7 kB / 488.9 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-05/0.007457, allocations: 267.5 kB / 489.2 MB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/0.007508, allocations: 268.3 kB / 489.4 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/0.007562, allocations: 268 kB / 489.7 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.007707, allocations: 480.2 kB / 490.2 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/0.007739, allocations: 157.2 kB / 490.3 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.007768, allocations: 151.5 kB / 490.5 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.723e-05/0.007825, allocations: 267.6 kB / 490.7 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.007886, allocations: 271 kB / 491 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.703e-05/0.007943, allocations: 272.2 kB / 491.2 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.618e-05/0.007999, allocations: 278.9 kB / 491.5 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.008112, allocations: 443.6 kB / 492 MB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.008152, allocations: 154.1 kB / 492.1 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.008218, allocations: 265.7 kB / 492.4 MB, free: 18.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.008318, allocations: 156.2 kB / 492.5 MB, free: 18.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.008378, allocations: 268 kB / 492.8 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.008411, allocations: 151.1 kB / 492.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.008455, allocations: 125.7 kB / 493 MB, free: 17.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008455, allocations: 0 / 493 MB, free: 17.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000171/0.008626, allocations: 15.47 kB / 493.1 MB, free: 17.97 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.0001895/0.008815, allocations: 239.5 kB / 493.3 MB, free: 17.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.886e-05/0.008874, allocations: 13.66 kB / 493.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008876, allocations: 1.531 kB / 493.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.008877, allocations: 1.281 kB / 493.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.009218, allocations: 0.7166 MB / 494 MB, free: 17.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.009577, allocations: 235 kB / 494.3 MB, free: 16.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.426e-05/0.009601, allocations: 59.41 kB / 494.3 MB, free: 16.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.00963, allocations: 6.375 kB / 494.3 MB, free: 16.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.009693, allocations: 83.98 kB / 494.4 MB, free: 16.66 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009694, allocations: 0 / 494.4 MB, free: 16.66 MB / 426.7 MB Notification: Performance of Templates: time 0.002343/0.01204, allocations: 0.736 MB / 495.1 MB, free: 16.57 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.622352125123143]