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.0009285/0.0009285, 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.0009314/0.0009314, 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 0.9586/0.9586, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.5918/0.5918, allocations: 115 MB / 376 MB, free: 7.496 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.142e-06/1.142e-06, allocations: 0 / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.52e-05, allocations: 8.141 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01183/0.01185, allocations: 13.22 MB / 495.2 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007384/0.01923, allocations: 6.307 MB / 0.4897 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/0.02002, allocations: 83.84 kB / 0.4898 GB, free: 14.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.02066, allocations: 368.3 kB / 0.4902 GB, free: 14.19 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.02268, allocations: 1.369 MB / 0.4915 GB, free: 13.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.02479, allocations: 1.437 MB / 0.4929 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.02809, allocations: 3.456 MB / 0.4963 GB, free: 10.87 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.02915, allocations: 0.8604 MB / 0.4971 GB, free: 10.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.0314, allocations: 1.673 MB / 0.4988 GB, free: 9.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.03243, allocations: 0.8138 MB / 0.4996 GB, free: 9.238 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.03256, allocations: 100 kB / 0.4997 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.0331, allocations: 291.3 kB / 0.4999 GB, free: 8.891 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.03335, allocations: 312.6 kB / 0.5002 GB, free: 8.629 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.03378, allocations: 453.7 kB / 0.5007 GB, free: 8.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.03496, allocations: 1.086 MB / 0.5017 GB, free: 7.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.03496, allocations: 0 / 0.5017 GB, free: 7.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.03496, allocations: 1.125 kB / 0.5017 GB, free: 7.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.03497, allocations: 3.938 kB / 0.5017 GB, free: 7.281 MB / 426.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.001597/0.03657, allocations: 1.564 MB / 0.5033 GB, free: 5.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.03661, allocations: 8.031 kB / 0.5033 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.03693, allocations: 218.4 kB / 0.5035 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.03798, allocations: 1.004 MB / 0.5045 GB, free: 4.719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.03801, allocations: 58 kB / 0.5045 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.03809, allocations: 82.78 kB / 0.5046 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.0388, allocations: 0.7027 MB / 0.5053 GB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.03882, allocations: 4 kB / 0.5053 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.03886, allocations: 28 kB / 0.5053 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.03889, allocations: 20.45 kB / 0.5053 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.03917, allocations: 208.9 kB / 0.5055 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.04158, allocations: 3.02 MB / 0.5085 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.04179, allocations: 135 kB / 0.5086 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.04185, allocations: 67.64 kB / 0.5087 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.366e-05/0.04195, allocations: 35.36 kB / 0.5087 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.04197, allocations: 41.33 kB / 0.5087 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.04197, allocations: 1.156 kB / 0.5087 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.000348/0.04232, allocations: 278.3 kB / 0.509 GB, free: 276 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.04234, allocations: 55.41 kB / 0.5091 GB, free: 208 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.04289, allocations: 0.8049 MB / 0.5098 GB, free: 15.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.04292, allocations: 37.7 kB / 0.5099 GB, free: 15.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.04321, allocations: 0.5894 MB / 0.5105 GB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.04328, allocations: 119 kB / 0.5106 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.0434, allocations: 152.2 kB / 0.5107 GB, free: 14.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.04352, allocations: 0.5049 MB / 0.5112 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.04362, allocations: 69.94 kB / 0.5113 GB, free: 13.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.04393, allocations: 0.6284 MB / 0.5119 GB, free: 13.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.04434, allocations: 0.5816 MB / 0.5125 GB, free: 12.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.04434, allocations: 0.875 kB / 0.5125 GB, free: 12.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000516/0.04486, allocations: 0.5319 MB / 0.513 GB, free: 11.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.04488, allocations: 10.81 kB / 0.513 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.04488, allocations: 8 kB / 0.513 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.0449, allocations: 16 kB / 0.513 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.04516, allocations: 152.3 kB / 0.5132 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.04517, allocations: 15.94 kB / 0.5132 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.04543, allocations: 87.39 kB / 0.5133 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.04546, allocations: 28 kB / 0.5133 GB, free: 11.45 MB / 442.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.0001581/0.04562, allocations: 212.2 kB / 0.5135 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.0457, allocations: 103.4 kB / 0.5136 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.04604, allocations: 296.9 kB / 0.5139 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.04605, allocations: 4 kB / 0.5139 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.04605, allocations: 0 / 0.5139 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000192/0.04625, allocations: 266 kB / 0.5141 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.04708, allocations: 0.911 MB / 0.515 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.04708, allocations: 7.938 kB / 0.515 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.04724, allocations: 63.91 kB / 0.5151 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.04724, allocations: 4 kB / 0.5151 GB, free: 9.508 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.04726, allocations: 11.98 kB / 0.5151 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.04726, allocations: 0 / 0.5151 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.04727, allocations: 7.938 kB / 0.5151 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.04774, allocations: 0.5203 MB / 0.5156 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.04792, allocations: 139.2 kB / 0.5157 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.04797, allocations: 11.98 kB / 0.5158 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.04818, allocations: 19.92 kB / 0.5158 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.04823, allocations: 31.89 kB / 0.5158 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.04825, allocations: 15.98 kB / 0.5158 GB, free: 8.715 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003034/0.04856, allocations: 473 kB / 0.5163 GB, free: 8.242 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04856, allocations: 0 / 0.5163 GB, free: 8.242 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.04908, allocations: 291.4 kB / 0.5166 GB, free: 7.957 MB / 442.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.0002558/0.04933, allocations: 194.5 kB / 0.5167 GB, free: 7.762 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.04965, allocations: 283.3 kB / 0.517 GB, free: 7.484 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.04965, allocations: 4 kB / 0.517 GB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.04976, allocations: 96.11 kB / 0.5171 GB, free: 7.383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.05086, allocations: 0.4906 MB / 0.5176 GB, free: 6.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.05255, allocations: 1.515 MB / 0.5191 GB, free: 5.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.05266, allocations: 203.4 kB / 0.5193 GB, free: 5.113 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.053, allocations: 145.3 kB / 0.5194 GB, free: 4.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/0.05359, allocations: 445.8 kB / 0.5198 GB, free: 4.539 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0536, allocations: 0 / 0.5198 GB, free: 4.539 MB / 442.7 MB Notification: Performance of Templates: time 0.02011/0.0737, allocations: 18.05 MB / 0.5374 GB, free: 2.988 MB / 458.7 MB " [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.719440598040819]