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.001309/0.001309, allocations: 79.73 kB / 20.51 MB, free: 1.117 MB / 14.72 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.001432/0.001432, allocations: 162.8 kB / 23.76 MB, free: 4.195 MB / 14.72 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.42/1.42, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.1 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 0.9054/0.9054, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 72.81 kB / 0.555 GB, free: 2.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1776, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04756/0.2252, allocations: 38.43 MB / 0.6796 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.2403, allocations: 9.668 MB / 0.6891 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.2421, allocations: 79.31 kB / 0.6891 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.2438, allocations: 0.6287 MB / 0.6898 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/0.2491, allocations: 2.017 MB / 0.6917 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.2522, allocations: 1.211 MB / 0.6929 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005125/0.2573, allocations: 3.459 MB / 0.6963 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.2587, allocations: 0.8106 MB / 0.6971 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3588/0.6176, allocations: 1.464 MB / 0.6985 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.6196, allocations: 0.8794 MB / 0.6994 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.6198, allocations: 102.1 kB / 0.6995 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.6218, allocations: 0.7124 MB / 0.7002 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.6221, allocations: 293.1 kB / 0.7004 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000693/0.6228, allocations: 0.5161 MB / 0.7009 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.626, allocations: 1.959 MB / 0.7029 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.626, allocations: 4.875 kB / 0.7029 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/0.626, allocations: 3 kB / 0.7029 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.883e-05/0.626, allocations: 0 / 0.7029 GB, free: 7.844 MB / 0.5919 GB 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.00314/0.6291, allocations: 1.471 MB / 0.7043 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.6292, allocations: 8.781 kB / 0.7043 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.6296, allocations: 150.9 kB / 0.7045 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.6317, allocations: 1.053 MB / 0.7055 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.6318, allocations: 54.75 kB / 0.7055 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.6319, allocations: 80.42 kB / 0.7056 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.6336, allocations: 0.9424 MB / 0.7065 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.6336, allocations: 1.031 kB / 0.7065 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.6337, allocations: 29.28 kB / 0.7066 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.6337, allocations: 19.66 kB / 0.7066 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.635, allocations: 0.5705 MB / 0.7071 GB, free: 6.402 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.639, allocations: 2.611 MB / 0.7097 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.6398, allocations: 245.4 kB / 0.7099 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.6402, allocations: 163.8 kB / 0.7101 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.6405, allocations: 58.91 kB / 0.7101 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6405, allocations: 44.98 kB / 0.7102 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.6405, allocations: 0 / 0.7102 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001326/0.6418, allocations: 0.4987 MB / 0.7107 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.6419, allocations: 55.88 kB / 0.7107 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.6429, allocations: 0.8145 MB / 0.7115 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.6429, allocations: 32.95 kB / 0.7115 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.6433, allocations: 0.5197 MB / 0.7121 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.6434, allocations: 118.8 kB / 0.7122 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.6435, allocations: 113.9 kB / 0.7123 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.6436, allocations: 328.7 kB / 0.7126 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.6439, allocations: 168 kB / 0.7127 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.6444, allocations: 0.4937 MB / 0.7132 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.6453, allocations: 0.5134 MB / 0.7137 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6453, allocations: 5.375 kB / 0.7137 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001208/0.6465, allocations: 0.6083 MB / 0.7143 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6465, allocations: 6.875 kB / 0.7143 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6465, allocations: 6.766 kB / 0.7143 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6465, allocations: 7.969 kB / 0.7144 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.647, allocations: 124.4 kB / 0.7145 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.647, allocations: 12.84 kB / 0.7145 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.6477, allocations: 73.23 kB / 0.7146 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.6477, allocations: 25.16 kB / 0.7146 GB, free: 3.582 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004414/0.6482, allocations: 275.2 kB / 0.7148 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.6484, allocations: 89.12 kB / 0.7149 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.6496, allocations: 487.7 kB / 0.7154 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.6496, allocations: 6.094 kB / 0.7154 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6496, allocations: 0 / 0.7154 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000733/0.6504, allocations: 455.9 kB / 0.7158 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.6528, allocations: 1.155 MB / 0.717 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.6528, allocations: 1.344 kB / 0.717 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.6532, allocations: 79.62 kB / 0.717 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.6532, allocations: 3.203 kB / 0.717 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.6533, allocations: 11.47 kB / 0.717 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.6533, allocations: 6.312 kB / 0.7171 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6533, allocations: 6.719 kB / 0.7171 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.6549, allocations: 0.7644 MB / 0.7178 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.6553, allocations: 136.1 kB / 0.7179 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6555, allocations: 11.45 kB / 0.7179 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.6559, allocations: 32.53 kB / 0.718 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.656, allocations: 34.56 kB / 0.718 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.6561, allocations: 20.52 kB / 0.718 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009668/0.6571, allocations: 0.5493 MB / 0.7186 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6571, allocations: 0 / 0.7186 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001638/0.6587, allocations: 358 kB / 0.7189 GB, free: 2.445 MB / 0.5919 GB 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.0008583/0.6596, allocations: 370.8 kB / 0.7193 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.6607, allocations: 411.4 kB / 0.7197 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6607, allocations: 1.375 kB / 0.7197 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.6611, allocations: 174 kB / 0.7198 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.6634, allocations: 480.7 kB / 0.7203 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.6663, allocations: 1.601 MB / 0.7218 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.6668, allocations: 456.8 kB / 0.7223 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007279/0.6676, allocations: 175.6 kB / 0.7224 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.6677, allocations: 72.88 kB / 0.7225 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.6677, allocations: 0 / 0.7225 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of Templates: time 0.03235/0.7001, allocations: 18.72 MB / 0.7408 GB, free: 12.47 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5691752299899235] Failed to read output from testmodel.py, exit status != 0: 0.7085616550175473 0.720578968 0.09156274199999995 Calling exit ...