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.0009945/0.0009945, allocations: 84.22 kB / 20.94 MB, free: 3.594 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.00098/0.00098, allocations: 169 kB / 24.25 MB, free: 292 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 0.9492/0.9492, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.5926/0.5926, allocations: 115 MB / 376 MB, free: 7.672 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.433e-06/1.433e-06, allocations: 0.875 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.789e-05, allocations: 5.125 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02995/0.02996, allocations: 43.33 MB / 0.5126 GB, free: 12.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.04659, allocations: 11.61 MB / 0.5239 GB, free: 1.418 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.0482, allocations: 83.31 kB / 0.524 GB, free: 1.336 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.04959, allocations: 0.6557 MB / 0.5246 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.0536, allocations: 2.086 MB / 0.5266 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.05625, allocations: 1.574 MB / 0.5282 GB, free: 13 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.05967, allocations: 3.543 MB / 0.5316 GB, free: 9.441 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.0607, allocations: 0.8593 MB / 0.5325 GB, free: 8.551 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.06351, allocations: 1.947 MB / 0.5344 GB, free: 6.613 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009463/0.06445, allocations: 0.8177 MB / 0.5352 GB, free: 5.793 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.06459, allocations: 103.9 kB / 0.5353 GB, free: 5.691 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.06587, allocations: 0.7247 MB / 0.536 GB, free: 4.965 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.06611, allocations: 326.7 kB / 0.5363 GB, free: 4.645 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.06653, allocations: 454.9 kB / 0.5367 GB, free: 4.199 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.06844, allocations: 1.413 MB / 0.5381 GB, free: 2.781 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.06844, allocations: 0 / 0.5381 GB, free: 2.781 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06845, allocations: 0 / 0.5381 GB, free: 2.781 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.06846, allocations: 0 / 0.5381 GB, free: 2.781 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.001731/0.07019, allocations: 1.635 MB / 0.5397 GB, free: 1.105 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.07023, allocations: 12.03 kB / 0.5397 GB, free: 1.094 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.0706, allocations: 219.9 kB / 0.5399 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.07185, allocations: 1.126 MB / 0.541 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.07189, allocations: 58 kB / 0.5411 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.07197, allocations: 83.98 kB / 0.5412 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.07277, allocations: 0.7402 MB / 0.5419 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.07279, allocations: 3.953 kB / 0.5419 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.07284, allocations: 28 kB / 0.5419 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.07288, allocations: 20 kB / 0.5419 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.0733, allocations: 251.6 kB / 0.5422 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.0758, allocations: 3.009 MB / 0.5451 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.0761, allocations: 139 kB / 0.5453 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.0762, allocations: 79.64 kB / 0.5453 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.07637, allocations: 59.97 kB / 0.5454 GB, free: 11.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.0764, allocations: 45.39 kB / 0.5454 GB, free: 11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 3.426e-06/0.0764, allocations: 0 / 0.5454 GB, free: 11 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005219/0.07692, allocations: 313.5 kB / 0.5457 GB, free: 10.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.07696, allocations: 55.41 kB / 0.5458 GB, free: 10.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.07766, allocations: 0.828 MB / 0.5466 GB, free: 9.773 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.07769, allocations: 41.64 kB / 0.5466 GB, free: 9.727 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.07799, allocations: 0.573 MB / 0.5472 GB, free: 9.145 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.07807, allocations: 123 kB / 0.5473 GB, free: 9.023 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.07824, allocations: 148.3 kB / 0.5474 GB, free: 8.871 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.07837, allocations: 0.5042 MB / 0.5479 GB, free: 8.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.0785, allocations: 77.94 kB / 0.548 GB, free: 8.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.07885, allocations: 0.6275 MB / 0.5486 GB, free: 7.441 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.07931, allocations: 0.5813 MB / 0.5492 GB, free: 6.688 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.07932, allocations: 4 kB / 0.5492 GB, free: 6.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000713/0.08003, allocations: 0.5595 MB / 0.5497 GB, free: 6.117 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.08005, allocations: 8.219 kB / 0.5498 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.08007, allocations: 12 kB / 0.5498 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.08009, allocations: 16 kB / 0.5498 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.08044, allocations: 147.8 kB / 0.5499 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.08046, allocations: 19.92 kB / 0.5499 GB, free: 5.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.0808, allocations: 83.45 kB / 0.55 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.08085, allocations: 32 kB / 0.55 GB, free: 5.805 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.0001993/0.08104, allocations: 208.2 kB / 0.5502 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.08116, allocations: 111.4 kB / 0.5504 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.08161, allocations: 306.3 kB / 0.5506 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.08162, allocations: 11.98 kB / 0.5507 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.08163, allocations: 0 / 0.5507 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002495/0.08188, allocations: 283.4 kB / 0.5509 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.083, allocations: 1.072 MB / 0.552 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.083, allocations: 7.938 kB / 0.552 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.08321, allocations: 68.12 kB / 0.552 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.08321, allocations: 4 kB / 0.5521 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.08323, allocations: 11.98 kB / 0.5521 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.08324, allocations: 11.88 kB / 0.5521 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.08324, allocations: 0 / 0.5521 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.08381, allocations: 0.5356 MB / 0.5526 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.08401, allocations: 147.2 kB / 0.5527 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.08407, allocations: 8 kB / 0.5527 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.0843, allocations: 27.84 kB / 0.5528 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.08436, allocations: 31.98 kB / 0.5528 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.08438, allocations: 23.92 kB / 0.5528 GB, free: 2.824 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004458/0.08483, allocations: 0.505 MB / 0.5533 GB, free: 2.309 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.08483, allocations: 0 / 0.5533 GB, free: 2.309 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008159/0.08565, allocations: 371 kB / 0.5537 GB, free: 1.945 MB / 474.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.0005102/0.08616, allocations: 385.1 kB / 0.554 GB, free: 1.562 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.0866, allocations: 295.3 kB / 0.5543 GB, free: 1.273 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.08661, allocations: 3.938 kB / 0.5543 GB, free: 1.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.08676, allocations: 103.5 kB / 0.5544 GB, free: 1.164 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.088, allocations: 0.4951 MB / 0.5549 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.09005, allocations: 1.538 MB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.09018, allocations: 199.4 kB / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.09059, allocations: 171.4 kB / 0.5568 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.0907, allocations: 76.48 kB / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0907, allocations: 0 / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of Templates: time 0.02144/0.1121, allocations: 19.18 MB / 0.5756 GB, free: 11.93 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: 3.9311948949471116]