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.0009522/0.0009522, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001548/0.001548, allocations: 169 kB / 23.8 MB, free: 0.7656 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 0.947/0.947, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.6198/0.6198, allocations: 115 MB / 375.7 MB, free: 7.633 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.954e-06/1.954e-06, allocations: 0.8125 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.627e-05, allocations: 4.844 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009607/0.009633, allocations: 13.4 MB / 494.9 MB, free: 2.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008698/0.01833, allocations: 6.359 MB / 0.4895 GB, free: 14.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.02015, allocations: 90.03 kB / 0.4896 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.02106, allocations: 367.7 kB / 0.49 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.02421, allocations: 1.372 MB / 0.4913 GB, free: 13.49 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.02737, allocations: 1.439 MB / 0.4927 GB, free: 12.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004618/0.03199, allocations: 3.439 MB / 0.4961 GB, free: 11.03 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.03339, allocations: 0.8524 MB / 0.4969 GB, free: 10.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.03664, allocations: 1.67 MB / 0.4985 GB, free: 9.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.03802, allocations: 0.8165 MB / 0.4993 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.03821, allocations: 104 kB / 0.4994 GB, free: 9.125 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007082/0.03892, allocations: 294.8 kB / 0.4997 GB, free: 8.875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.03916, allocations: 316.6 kB / 0.5 GB, free: 8.609 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.03965, allocations: 456.4 kB / 0.5004 GB, free: 8.191 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.0411, allocations: 1.078 MB / 0.5015 GB, free: 7.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.0411, allocations: 0 / 0.5015 GB, free: 7.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0411, allocations: 0 / 0.5015 GB, free: 7.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.009e-05/0.04114, allocations: 0 / 0.5015 GB, free: 7.27 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.001911/0.04305, allocations: 1.564 MB / 0.503 GB, free: 5.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.04309, allocations: 8.031 kB / 0.503 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.04343, allocations: 217.5 kB / 0.5032 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.04457, allocations: 1.018 MB / 0.5042 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.04461, allocations: 63.36 kB / 0.5043 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.04469, allocations: 80 kB / 0.5044 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.04558, allocations: 0.7413 MB / 0.5051 GB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.0456, allocations: 0.5938 kB / 0.5051 GB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.04565, allocations: 28.56 kB / 0.5051 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.04569, allocations: 17.11 kB / 0.5051 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.04614, allocations: 258 kB / 0.5054 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.04889, allocations: 2.998 MB / 0.5083 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.04918, allocations: 147 kB / 0.5085 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.04929, allocations: 80.59 kB / 0.5085 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.04941, allocations: 28.89 kB / 0.5086 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.04943, allocations: 33.39 kB / 0.5086 GB, free: 496 kB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.04944, allocations: 0 / 0.5086 GB, free: 496 kB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004671/0.0499, allocations: 309.1 kB / 0.5089 GB, free: 184 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.04993, allocations: 63.39 kB / 0.5089 GB, free: 108 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.05059, allocations: 0.8124 MB / 0.5097 GB, free: 15.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.05063, allocations: 37.7 kB / 0.5098 GB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.05093, allocations: 0.5808 MB / 0.5103 GB, free: 14.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.05101, allocations: 123 kB / 0.5105 GB, free: 14.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.05115, allocations: 148.3 kB / 0.5106 GB, free: 14.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.05128, allocations: 0.5078 MB / 0.5111 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.0514, allocations: 73.94 kB / 0.5112 GB, free: 13.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.05176, allocations: 0.6314 MB / 0.5118 GB, free: 12.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.05222, allocations: 0.5851 MB / 0.5124 GB, free: 12.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.05223, allocations: 4 kB / 0.5124 GB, free: 12.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006082/0.05284, allocations: 0.5611 MB / 0.5129 GB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.05286, allocations: 15.06 kB / 0.5129 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.05287, allocations: 8 kB / 0.5129 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.05289, allocations: 12 kB / 0.5129 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.0532, allocations: 147.8 kB / 0.5131 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/0.05322, allocations: 23.92 kB / 0.5131 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.05351, allocations: 79.41 kB / 0.5132 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.05355, allocations: 39.92 kB / 0.5132 GB, free: 11.3 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.0001831/0.05374, allocations: 209.3 kB / 0.5134 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.05383, allocations: 104.8 kB / 0.5135 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.05424, allocations: 316.4 kB / 0.5138 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-06/0.05424, allocations: 4 kB / 0.5138 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.05425, allocations: 1.25 kB / 0.5138 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002335/0.05448, allocations: 295.1 kB / 0.5141 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.05556, allocations: 1.067 MB / 0.5152 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.05556, allocations: 0 / 0.5152 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.05574, allocations: 67.95 kB / 0.5152 GB, free: 9.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.05575, allocations: 0 / 0.5152 GB, free: 9.164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.05576, allocations: 12 kB / 0.5152 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.05577, allocations: 7.875 kB / 0.5152 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.05577, allocations: 4 kB / 0.5152 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.05626, allocations: 0.5435 MB / 0.5158 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.05643, allocations: 151.2 kB / 0.5159 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.05649, allocations: 12 kB / 0.5159 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.0567, allocations: 19.92 kB / 0.5159 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.05675, allocations: 27.95 kB / 0.516 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.05678, allocations: 19.98 kB / 0.516 GB, free: 8.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004038/0.05718, allocations: 0.4933 MB / 0.5165 GB, free: 7.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05718, allocations: 0 / 0.5165 GB, free: 7.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006207/0.0578, allocations: 299.4 kB / 0.5168 GB, free: 7.535 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.0002826/0.05809, allocations: 183 kB / 0.5169 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.05849, allocations: 298.2 kB / 0.5172 GB, free: 7.055 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05849, allocations: 0 / 0.5172 GB, free: 7.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.05862, allocations: 117.1 kB / 0.5173 GB, free: 6.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.05978, allocations: 0.4977 MB / 0.5178 GB, free: 6.473 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.06173, allocations: 1.527 MB / 0.5193 GB, free: 4.883 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.06186, allocations: 195.4 kB / 0.5195 GB, free: 4.672 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.0623, allocations: 174.2 kB / 0.5197 GB, free: 4.504 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.06242, allocations: 76.48 kB / 0.5197 GB, free: 4.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/0.06242, allocations: 0 / 0.5197 GB, free: 4.43 MB / 442.7 MB Notification: Performance of Templates: time 0.02224/0.08466, allocations: 17.94 MB / 0.5373 GB, free: 3.043 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.806230832822621]