Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001878/0.001878, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.001995/0.001995, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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 1.096/1.096, allocations: 115 MB / 375.3 MB, free: 7.582 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.188e-05, allocations: 8.516 kB / 480.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05935/0.05938, allocations: 43.19 MB / 0.5117 GB, free: 12.36 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02866/0.08804, allocations: 11.61 MB / 0.523 GB, free: 1.539 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.09116, allocations: 87.25 kB / 0.5231 GB, free: 1.453 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.0939, allocations: 0.6596 MB / 0.5238 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00885/0.1027, allocations: 2.086 MB / 0.5258 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006166/0.1089, allocations: 1.578 MB / 0.5273 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007954/0.1169, allocations: 3.542 MB / 0.5308 GB, free: 9.551 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.119, allocations: 0.8515 MB / 0.5316 GB, free: 8.668 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005059/0.1241, allocations: 1.954 MB / 0.5335 GB, free: 6.723 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.1259, allocations: 0.8138 MB / 0.5343 GB, free: 5.906 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.1262, allocations: 108 kB / 0.5344 GB, free: 5.801 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.1283, allocations: 0.7247 MB / 0.5352 GB, free: 5.074 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.1287, allocations: 322.7 kB / 0.5355 GB, free: 4.758 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.1295, allocations: 458.9 kB / 0.5359 GB, free: 4.309 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.1333, allocations: 2.037 MB / 0.5379 GB, free: 2.266 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1333, allocations: 0 / 0.5379 GB, free: 2.266 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1333, allocations: 0 / 0.5379 GB, free: 2.266 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.348e-05/0.1334, allocations: 0 / 0.5379 GB, free: 2.266 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003302/0.1367, allocations: 1.756 MB / 0.5396 GB, free: 480 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1367, allocations: 12.03 kB / 0.5396 GB, free: 468 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.1372, allocations: 211.9 kB / 0.5398 GB, free: 256 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.1396, allocations: 1.127 MB / 0.5409 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.1397, allocations: 65.98 kB / 0.541 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.1399, allocations: 80 kB / 0.5411 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.1416, allocations: 0.9738 MB / 0.542 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.1416, allocations: 7.938 kB / 0.542 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.1417, allocations: 24 kB / 0.542 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.1417, allocations: 24 kB / 0.5421 GB, free: 13.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1428, allocations: 0.4969 MB / 0.5425 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.1485, allocations: 3.728 MB / 0.5462 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.1491, allocations: 219 kB / 0.5464 GB, free: 9.266 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1494, allocations: 138.4 kB / 0.5465 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.1497, allocations: 63.95 kB / 0.5466 GB, free: 9.066 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.1497, allocations: 41.39 kB / 0.5466 GB, free: 9.016 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.023e-06/0.1497, allocations: 0 / 0.5466 GB, free: 9.016 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.001161/0.1509, allocations: 437.4 kB / 0.547 GB, free: 8.582 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1509, allocations: 55.41 kB / 0.5471 GB, free: 8.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.1526, allocations: 1.141 MB / 0.5482 GB, free: 7.352 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.1526, allocations: 41.7 kB / 0.5482 GB, free: 7.305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.1533, allocations: 0.6433 MB / 0.5489 GB, free: 6.652 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.1535, allocations: 134.9 kB / 0.549 GB, free: 6.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.1538, allocations: 180.3 kB / 0.5492 GB, free: 6.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003213/0.1541, allocations: 0.5277 MB / 0.5497 GB, free: 5.801 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1544, allocations: 141.9 kB / 0.5498 GB, free: 5.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008861/0.1553, allocations: 0.7174 MB / 0.5505 GB, free: 4.727 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.1565, allocations: 0.7372 MB / 0.5512 GB, free: 3.816 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1565, allocations: 0 / 0.5512 GB, free: 3.816 MB / 474.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001444/0.158, allocations: 0.6768 MB / 0.5519 GB, free: 3.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.158, allocations: 12.25 kB / 0.5519 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.158, allocations: 16 kB / 0.5519 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.158, allocations: 12 kB / 0.5519 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.1586, allocations: 151.8 kB / 0.5521 GB, free: 2.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.1586, allocations: 19.92 kB / 0.5521 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.1592, allocations: 79.45 kB / 0.5522 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.1593, allocations: 36 kB / 0.5522 GB, free: 2.812 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (83): * Single equations (assignments): 83 * 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 0.0005448/0.1598, allocations: 332.2 kB / 0.5525 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.16, allocations: 107.4 kB / 0.5526 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009524/0.161, allocations: 390.9 kB / 0.553 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.161, allocations: 4 kB / 0.553 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.161, allocations: 7.984 kB / 0.553 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007409/0.1617, allocations: 363.4 kB / 0.5534 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.1643, allocations: 1.396 MB / 0.5547 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1643, allocations: 4 kB / 0.5547 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.1647, allocations: 71.89 kB / 0.5548 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.1647, allocations: 4 kB / 0.5548 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.1647, allocations: 8 kB / 0.5548 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.1647, allocations: 7.938 kB / 0.5548 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1647, allocations: 3.984 kB / 0.5548 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1661, allocations: 0.7036 MB / 0.5555 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.1665, allocations: 143.2 kB / 0.5557 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1666, allocations: 8 kB / 0.5557 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.1671, allocations: 35.83 kB / 0.5557 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1672, allocations: 27.95 kB / 0.5557 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.1672, allocations: 15.98 kB / 0.5557 GB, free: 15.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.1683, allocations: 0.673 MB / 0.5564 GB, free: 14.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1683, allocations: 0 / 0.5564 GB, free: 14.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001274/0.1695, allocations: 371 kB / 0.5567 GB, free: 14.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007102/0.1703, allocations: 374.1 kB / 0.5571 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.1712, allocations: 439.5 kB / 0.5575 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1712, allocations: 320 / 0.5575 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.1716, allocations: 159.5 kB / 0.5577 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.174, allocations: 0.4986 MB / 0.5582 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.1773, allocations: 1.613 MB / 0.5597 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.1779, allocations: 462.5 kB / 0.5602 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006655/0.1786, allocations: 171.2 kB / 0.5603 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.1788, allocations: 80.48 kB / 0.5604 GB, free: 10.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1788, allocations: 0 / 0.5604 GB, free: 10.18 MB / 490.7 MB Notification: Performance of Templates: time 0.0381/0.2169, allocations: 19.16 MB / 0.5791 GB, free: 7.48 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.48522474791389]