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.001481/0.001481, allocations: 76.86 kB / 19.93 MB, free: 1.77 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.00162/0.00162, allocations: 168.6 kB / 23.22 MB, free: 4.887 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.39/1.39, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 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.9209/0.9209, allocations: 114 MB / 373.9 MB, free: 13.23 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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.506e-05, allocations: 5.234 kB / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04352/0.04354, allocations: 38.13 MB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.05909, allocations: 9.662 MB / 0.6013 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.06068, allocations: 79.31 kB / 0.6014 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.06241, allocations: 0.6441 MB / 0.6021 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.06751, allocations: 2.071 MB / 0.6041 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.07053, allocations: 1.239 MB / 0.6053 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004781/0.07531, allocations: 3.46 MB / 0.6087 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.07656, allocations: 0.7767 MB / 0.6094 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003923/0.08048, allocations: 1.879 MB / 0.6113 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.08185, allocations: 0.7787 MB / 0.612 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.08203, allocations: 100 kB / 0.6121 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.08385, allocations: 0.7169 MB / 0.6128 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.08418, allocations: 306.7 kB / 0.6131 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.08479, allocations: 442.9 kB / 0.6135 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.08757, allocations: 1.959 MB / 0.6154 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.08757, allocations: 0 / 0.6154 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.08757, allocations: 4 kB / 0.6154 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.08759, allocations: 0 / 0.6154 GB, free: 4.191 MB / 0.5137 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.002509/0.0901, allocations: 1.465 MB / 0.6169 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.09013, allocations: 12.62 kB / 0.6169 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.0905, allocations: 140.1 kB / 0.617 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.09233, allocations: 1.047 MB / 0.618 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.09239, allocations: 61.98 kB / 0.6181 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.09253, allocations: 79.95 kB / 0.6182 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.09408, allocations: 0.9372 MB / 0.6191 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.09411, allocations: 3.938 kB / 0.6191 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.09418, allocations: 31.94 kB / 0.6191 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.09421, allocations: 19.98 kB / 0.6191 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.09542, allocations: 0.5711 MB / 0.6197 GB, free: 15.69 MB / 0.5294 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.003703/0.09912, allocations: 2.594 MB / 0.6222 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.09972, allocations: 242.4 kB / 0.6225 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.1001, allocations: 166.8 kB / 0.6226 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.1003, allocations: 75.95 kB / 0.6227 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1004, allocations: 38.5 kB / 0.6227 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.1004, allocations: 0 / 0.6227 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001227/0.1016, allocations: 0.5052 MB / 0.6232 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1017, allocations: 63.39 kB / 0.6233 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.1027, allocations: 0.81 MB / 0.6241 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.1027, allocations: 29.7 kB / 0.6241 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.1031, allocations: 0.5078 MB / 0.6246 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1032, allocations: 119 kB / 0.6247 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1034, allocations: 110.2 kB / 0.6248 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1035, allocations: 329.9 kB / 0.6251 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.1039, allocations: 169.2 kB / 0.6253 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.1046, allocations: 0.4953 MB / 0.6258 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.1055, allocations: 0.511 MB / 0.6263 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1055, allocations: 0 / 0.6263 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001175/0.1067, allocations: 0.6058 MB / 0.6269 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1067, allocations: 8 kB / 0.6269 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1067, allocations: 7.984 kB / 0.6269 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1067, allocations: 12.56 kB / 0.6269 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.1072, allocations: 131.8 kB / 0.627 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1072, allocations: 8 kB / 0.627 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.1077, allocations: 67.59 kB / 0.6271 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.1078, allocations: 27.94 kB / 0.6271 GB, free: 7.746 MB / 0.5294 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.0003614/0.1081, allocations: 281.5 kB / 0.6274 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1083, allocations: 87.44 kB / 0.6275 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1093, allocations: 481.6 kB / 0.6279 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.1093, allocations: 4 kB / 0.6279 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.1093, allocations: 3.984 kB / 0.6279 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007987/0.1101, allocations: 455.3 kB / 0.6284 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.1121, allocations: 1.162 MB / 0.6295 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1121, allocations: 0 / 0.6295 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.1125, allocations: 71.89 kB / 0.6296 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.1125, allocations: 7.984 kB / 0.6296 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.1125, allocations: 16.16 kB / 0.6296 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1125, allocations: 7.938 kB / 0.6296 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1125, allocations: 3.938 kB / 0.6296 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1139, allocations: 0.7511 MB / 0.6304 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.1142, allocations: 135.3 kB / 0.6305 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/0.1143, allocations: 12.06 kB / 0.6305 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.1147, allocations: 31.89 kB / 0.6305 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.1148, allocations: 31.89 kB / 0.6306 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.1148, allocations: 19.98 kB / 0.6306 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000721/0.1156, allocations: 0.5498 MB / 0.6311 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1156, allocations: 0 / 0.6311 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009552/0.1165, allocations: 359 kB / 0.6315 GB, free: 3.191 MB / 0.5294 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.0006579/0.1172, allocations: 389.6 kB / 0.6318 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000946/0.1181, allocations: 411.8 kB / 0.6322 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1181, allocations: 0 / 0.6322 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.1185, allocations: 181.1 kB / 0.6324 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.1207, allocations: 465.9 kB / 0.6328 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.1231, allocations: 1.534 MB / 0.6343 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.1236, allocations: 448.6 kB / 0.6348 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.1241, allocations: 172.4 kB / 0.6349 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.1242, allocations: 72.48 kB / 0.635 GB, free: 15.51 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1242, allocations: 4 kB / 0.635 GB, free: 15.51 MB / 0.545 GB Notification: Performance of Templates: time 0.03177/0.156, allocations: 18.38 MB / 0.6529 GB, free: 13.57 MB / 0.5606 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.842163395136595] Failed to read output from testmodel.py, exit status != 0: 0.16425634548068047 0.17824102700000002 0.087615996 Calling exit ...