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.001338/0.001338, allocations: 84.52 kB / 19.94 MB, free: 1.781 MB / 14.72 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.001494/0.001494, allocations: 163.4 kB / 23.22 MB, free: 4.902 MB / 14.72 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.393/1.393, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.8929/0.8929, allocations: 114 MB / 373.9 MB, free: 13.27 MB / 350.1 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.262e-06/1.262e-06, allocations: 0 / 0.5546 GB, free: 2.559 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.291e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005334/0.005357, allocations: 3.913 MB / 0.5585 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.00557, allocations: 139.5 kB / 0.5586 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.005596, allocations: 0 / 0.5586 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.984e-05/0.005696, allocations: 3.938 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.005766, allocations: 15.91 kB / 0.5586 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.006106, allocations: 90.75 kB / 0.5587 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.006192, allocations: 35.84 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.006234, allocations: 7.984 kB / 0.5587 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.00629, allocations: 11.98 kB / 0.5588 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.006371, allocations: 11.98 kB / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.006387, allocations: 0 / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.006587, allocations: 67.69 kB / 0.5588 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.006637, allocations: 7.969 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.006661, allocations: 8 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.006821, allocations: 67.8 kB / 0.5589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006823, allocations: 0 / 0.5589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006824, allocations: 0 / 0.5589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.006827, allocations: 0 / 0.5589 GB, free: 14.17 MB / 478.1 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.0003647/0.007192, allocations: 254.3 kB / 0.5592 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007224, allocations: 8.625 kB / 0.5592 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.007261, allocations: 4.938 kB / 0.5592 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.007373, allocations: 109.7 kB / 0.5593 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.007448, allocations: 63.95 kB / 0.5593 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.007455, allocations: 384 / 0.5593 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.007591, allocations: 71.94 kB / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.007599, allocations: 192 / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.007613, allocations: 7.938 kB / 0.5594 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.007627, allocations: 0 / 0.5594 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.007666, allocations: 11.98 kB / 0.5594 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.008025, allocations: 208.5 kB / 0.5596 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.008072, allocations: 22.56 kB / 0.5596 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.00809, allocations: 16.73 kB / 0.5597 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.00814, allocations: 8.062 kB / 0.5597 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.008169, allocations: 34.56 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.00817, allocations: 0 / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.008307, allocations: 37.62 kB / 0.5597 GB, free: 13.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.008348, allocations: 55.41 kB / 0.5598 GB, free: 13.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.008436, allocations: 101.8 kB / 0.5599 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.008454, allocations: 25.7 kB / 0.5599 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.008504, allocations: 88.09 kB / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/0.008512, allocations: 7.953 kB / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.008543, allocations: 17.84 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.008673, allocations: 310.8 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.008692, allocations: 11.98 kB / 0.5603 GB, free: 12.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.008715, allocations: 13.72 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.008754, allocations: 25.66 kB / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.008755, allocations: 0 / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.762e-05/0.008833, allocations: 45.62 kB / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.008843, allocations: 4 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.008847, allocations: 4.062 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.008857, allocations: 4 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.166e-05/0.008899, allocations: 11.98 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.008905, allocations: 3.938 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.008924, allocations: 3.938 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.008937, allocations: 4 kB / 0.5604 GB, free: 12.4 MB / 478.1 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 7.745e-05/0.009014, allocations: 110.9 kB / 0.5605 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.009043, allocations: 7.938 kB / 0.5606 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.009167, allocations: 124.9 kB / 0.5607 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.628e-05/0.009243, allocations: 184.2 kB / 0.5608 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-05/0.009317, allocations: 176.3 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.776e-05/0.009395, allocations: 180.3 kB / 0.5612 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.009616, allocations: 360.8 kB / 0.5615 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/0.009662, allocations: 101 kB / 0.5616 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.009709, allocations: 108.9 kB / 0.5617 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.094e-05/0.00979, allocations: 184.2 kB / 0.5619 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.009867, allocations: 184.2 kB / 0.5621 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-05/0.009945, allocations: 184.1 kB / 0.5623 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.939e-05/0.01002, allocations: 188.2 kB / 0.5624 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.01018, allocations: 299.8 kB / 0.5627 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.01024, allocations: 116.9 kB / 0.5628 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.01033, allocations: 180.2 kB / 0.563 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.01048, allocations: 109 kB / 0.5631 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.01056, allocations: 184.2 kB / 0.5633 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.01061, allocations: 101 kB / 0.5634 GB, free: 9.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.01066, allocations: 83.28 kB / 0.5635 GB, free: 9.113 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01066, allocations: 0 / 0.5635 GB, free: 9.113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.01092, allocations: 19.94 kB / 0.5635 GB, free: 9.094 MB / 478.1 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.000183/0.0111, allocations: 190.4 kB / 0.5637 GB, free: 8.898 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.441e-05/0.01117, allocations: 15.94 kB / 0.5637 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01117, allocations: 0 / 0.5637 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.01117, allocations: 0 / 0.5637 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.01158, allocations: 459.7 kB / 0.5641 GB, free: 8.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.01183, allocations: 180 kB / 0.5643 GB, free: 8.227 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.373e-05/0.0119, allocations: 59.34 kB / 0.5643 GB, free: 8.148 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.01193, allocations: 9.984 kB / 0.5644 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.01195, allocations: 12.5 kB / 0.5644 GB, free: 8.129 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01195, allocations: 0 / 0.5644 GB, free: 8.129 MB / 478.1 MB Notification: Performance of Templates: time 0.003047/0.015, allocations: 0.6732 MB / 0.565 GB, free: 7.469 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.043526899069548] Failed to read output from testmodel.py, exit status != 0: 0.02319750189781189 0.037429464 0.027695818 Calling exit ...