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.001489/0.001489, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001794/0.001794, allocations: 172.3 kB / 24.84 MB, free: 8.918 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.9899/0.9899, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.6177/0.6177, allocations: 115 MB / 376.8 MB, free: 7.477 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.222e-06/1.222e-06, allocations: 0 / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.757e-06/9.979e-06, allocations: 2.312 kB / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01026/0.01027, allocations: 13.22 MB / 496 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00867/0.01894, allocations: 6.314 MB / 0.4905 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.02009, allocations: 88 kB / 0.4906 GB, free: 14.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.02088, allocations: 364.3 kB / 0.491 GB, free: 14.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.02335, allocations: 1.374 MB / 0.4923 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.02604, allocations: 1.43 MB / 0.4937 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003868/0.02991, allocations: 3.454 MB / 0.4971 GB, free: 10.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.03114, allocations: 0.8534 MB / 0.4979 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.03395, allocations: 1.667 MB / 0.4995 GB, free: 9.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.03523, allocations: 0.8131 MB / 0.5003 GB, free: 9.188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.0354, allocations: 100.7 kB / 0.5004 GB, free: 9.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.03606, allocations: 295.1 kB / 0.5007 GB, free: 8.836 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.03633, allocations: 321.4 kB / 0.501 GB, free: 8.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.03683, allocations: 448.4 kB / 0.5014 GB, free: 8.156 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.03822, allocations: 1.086 MB / 0.5025 GB, free: 7.227 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.03822, allocations: 0 / 0.5025 GB, free: 7.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.03823, allocations: 1.062 kB / 0.5025 GB, free: 7.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.03824, allocations: 0 / 0.5025 GB, free: 7.227 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.001932/0.04017, allocations: 1.577 MB / 0.504 GB, free: 5.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.0402, allocations: 8.031 kB / 0.504 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.04057, allocations: 217.4 kB / 0.5042 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.04187, allocations: 0.9998 MB / 0.5052 GB, free: 4.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.04192, allocations: 58 kB / 0.5053 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.04203, allocations: 84 kB / 0.5054 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.04284, allocations: 0.6999 MB / 0.506 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.04286, allocations: 0 / 0.506 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.04291, allocations: 36.52 kB / 0.5061 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.04295, allocations: 24.75 kB / 0.5061 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.04332, allocations: 201.2 kB / 0.5063 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.04974, allocations: 3.019 MB / 0.5092 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.05, allocations: 139.7 kB / 0.5094 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.05009, allocations: 74.23 kB / 0.5094 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.893e-05/0.05019, allocations: 31.97 kB / 0.5095 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.05022, allocations: 41.39 kB / 0.5095 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.05022, allocations: 1.656 kB / 0.5095 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004555/0.05067, allocations: 278.3 kB / 0.5098 GB, free: 256 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.0507, allocations: 55.41 kB / 0.5098 GB, free: 188 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.05142, allocations: 0.8041 MB / 0.5106 GB, free: 15.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.05146, allocations: 37.7 kB / 0.5107 GB, free: 15.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003411/0.05487, allocations: 0.589 MB / 0.5112 GB, free: 14.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.05496, allocations: 119.6 kB / 0.5113 GB, free: 14.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.05514, allocations: 152.2 kB / 0.5115 GB, free: 14.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.05529, allocations: 0.5125 MB / 0.512 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.05542, allocations: 67.34 kB / 0.5121 GB, free: 13.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.05585, allocations: 0.6273 MB / 0.5127 GB, free: 13.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.0564, allocations: 0.5696 MB / 0.5132 GB, free: 12.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.05641, allocations: 6.375 kB / 0.5132 GB, free: 12.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007173/0.05713, allocations: 0.5263 MB / 0.5137 GB, free: 11.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.05715, allocations: 8 kB / 0.5138 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.05716, allocations: 15.98 kB / 0.5138 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.05718, allocations: 15.98 kB / 0.5138 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.05958, allocations: 148.4 kB / 0.5139 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.0596, allocations: 19.94 kB / 0.5139 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.05999, allocations: 87.39 kB / 0.514 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.06004, allocations: 32 kB / 0.5141 GB, free: 11.43 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.0001954/0.06023, allocations: 204.2 kB / 0.5143 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.06036, allocations: 103.4 kB / 0.5144 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.06078, allocations: 289.9 kB / 0.5146 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.06079, allocations: 4 kB / 0.5146 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.06079, allocations: 0 / 0.5146 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002415/0.06103, allocations: 273.9 kB / 0.5149 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.06215, allocations: 0.9188 MB / 0.5158 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.06215, allocations: 0 / 0.5158 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.06236, allocations: 67.89 kB / 0.5159 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.06236, allocations: 4 kB / 0.5159 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.06239, allocations: 12 kB / 0.5159 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.06239, allocations: 4 kB / 0.5159 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.06239, allocations: 8.094 kB / 0.5159 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.06696, allocations: 0.5123 MB / 0.5164 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.06717, allocations: 143.2 kB / 0.5165 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.06725, allocations: 12.06 kB / 0.5165 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.06752, allocations: 15.98 kB / 0.5165 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.06757, allocations: 35.89 kB / 0.5166 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.06759, allocations: 11.98 kB / 0.5166 GB, free: 8.699 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.06788, allocations: 476.9 kB / 0.517 GB, free: 8.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06788, allocations: 4 kB / 0.5171 GB, free: 8.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.06847, allocations: 295.4 kB / 0.5173 GB, free: 7.93 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.0002403/0.06871, allocations: 178.9 kB / 0.5175 GB, free: 7.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.06902, allocations: 283.1 kB / 0.5178 GB, free: 7.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.06902, allocations: 0 / 0.5178 GB, free: 7.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.06912, allocations: 100.4 kB / 0.5179 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.07023, allocations: 496.7 kB / 0.5183 GB, free: 6.898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.07187, allocations: 1.519 MB / 0.5198 GB, free: 5.316 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.07199, allocations: 203.4 kB / 0.52 GB, free: 5.098 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.07232, allocations: 148.7 kB / 0.5202 GB, free: 4.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.07293, allocations: 437.8 kB / 0.5206 GB, free: 4.527 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.07293, allocations: 4 kB / 0.5206 GB, free: 4.523 MB / 442.7 MB Notification: Performance of Templates: time 0.02069/0.09362, allocations: 18.29 MB / 0.5384 GB, free: 2.707 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.9831011528149247]