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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 121.2 kB / 17.81 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 189.5 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.848/0.848, allocations: 128.4 MB / 432.4 MB, free: 13.53 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001936/0.001936, allocations: 67.89 kB / 0.5987 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4809, allocations: 83.27 MB / 0.68 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04519/0.5261, allocations: 41.92 MB / 0.721 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.5432, allocations: 10.42 MB / 0.7312 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.5456, allocations: 59.62 kB / 0.7312 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.5475, allocations: 0.6716 MB / 0.7319 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.5533, allocations: 1.975 MB / 0.7338 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.5564, allocations: 1.192 MB / 0.735 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.5615, allocations: 3.399 MB / 0.7383 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.5631, allocations: 0.8686 MB / 0.7391 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.5669, allocations: 1.425 MB / 0.7405 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.5684, allocations: 0.9217 MB / 0.7414 GB, free: 128 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.5685, allocations: 100 kB / 0.7415 GB, free: 28 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.5707, allocations: 0.8735 MB / 0.7424 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.571, allocations: 298.8 kB / 0.7427 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008085/0.5718, allocations: 0.6337 MB / 0.7433 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.5751, allocations: 1.942 MB / 0.7452 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.5752, allocations: 0 / 0.7452 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5752, allocations: 0 / 0.7452 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.588e-05/0.5752, allocations: 0 / 0.7452 GB, free: 12.28 MB / 0.5606 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.002747/0.5779, allocations: 1.552 MB / 0.7467 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.578, allocations: 8.031 kB / 0.7467 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.5784, allocations: 148.1 kB / 0.7468 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.5803, allocations: 1.104 MB / 0.7479 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.5804, allocations: 54 kB / 0.748 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.5805, allocations: 75.95 kB / 0.748 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.5819, allocations: 0.7905 MB / 0.7488 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.582, allocations: 7.969 kB / 0.7488 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.582, allocations: 28 kB / 0.7488 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.5821, allocations: 27.81 kB / 0.7489 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5832, allocations: 0.5672 MB / 0.7494 GB, free: 7.789 MB / 0.5606 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.004616/0.5879, allocations: 3.715 MB / 0.753 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.5885, allocations: 246.4 kB / 0.7533 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.5888, allocations: 164.8 kB / 0.7534 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.5894, allocations: 0.657 MB / 0.7541 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5894, allocations: 38.56 kB / 0.7541 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.5894, allocations: 0 / 0.7541 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001305/0.5908, allocations: 0.5246 MB / 0.7546 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5908, allocations: 55.41 kB / 0.7547 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.592, allocations: 0.9572 MB / 0.7556 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.5921, allocations: 29.7 kB / 0.7556 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.5925, allocations: 0.4966 MB / 0.7561 GB, free: 444 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5926, allocations: 119 kB / 0.7562 GB, free: 324 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.5928, allocations: 118.2 kB / 0.7564 GB, free: 200 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.593, allocations: 326 kB / 0.7567 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.5933, allocations: 165 kB / 0.7568 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.5939, allocations: 346.9 kB / 0.7572 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009011/0.5948, allocations: 0.5162 MB / 0.7577 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5948, allocations: 0 / 0.7577 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001206/0.596, allocations: 0.6138 MB / 0.7583 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.596, allocations: 10.19 kB / 0.7583 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.596, allocations: 8 kB / 0.7583 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.5961, allocations: 8 kB / 0.7583 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.5965, allocations: 120.2 kB / 0.7584 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.5965, allocations: 19.92 kB / 0.7584 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.5972, allocations: 83.48 kB / 0.7585 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.5972, allocations: 24 kB / 0.7585 GB, free: 13.82 MB / 0.5762 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.0005239/0.5977, allocations: 273.6 kB / 0.7588 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.5979, allocations: 107.3 kB / 0.7589 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.599, allocations: 0.4891 MB / 0.7594 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.599, allocations: 4 kB / 0.7594 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.599, allocations: 3.938 kB / 0.7594 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007767/0.5998, allocations: 449.2 kB / 0.7598 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.602, allocations: 1.366 MB / 0.7611 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.602, allocations: 160 / 0.7611 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.6023, allocations: 83.88 kB / 0.7612 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.6023, allocations: 4 kB / 0.7612 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.6024, allocations: 8 kB / 0.7612 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.6024, allocations: 4 kB / 0.7612 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6024, allocations: 3.938 kB / 0.7612 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.6038, allocations: 0.7764 MB / 0.762 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.6041, allocations: 232.4 kB / 0.7622 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6042, allocations: 12 kB / 0.7622 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.6047, allocations: 27.95 kB / 0.7622 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.6048, allocations: 27.91 kB / 0.7623 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.6049, allocations: 24.05 kB / 0.7623 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009268/0.6058, allocations: 0.6588 MB / 0.7629 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6058, allocations: 0 / 0.7629 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001025/0.6068, allocations: 347.2 kB / 0.7633 GB, free: 8.773 MB / 0.5762 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.0008943/0.6077, allocations: 397.7 kB / 0.7637 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009485/0.6087, allocations: 400.3 kB / 0.764 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.6087, allocations: 8 kB / 0.764 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.6091, allocations: 176.8 kB / 0.7642 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.6117, allocations: 0.6033 MB / 0.7648 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.6146, allocations: 1.664 MB / 0.7664 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.6153, allocations: 1.028 MB / 0.7674 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.6156, allocations: 87.36 kB / 0.7675 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of SimCode: time 1.934e-06/0.6156, allocations: 4 kB / 0.7675 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of Templates: time 0.03058/0.6462, allocations: 18.18 MB / 0.7853 GB, free: 2.332 MB / 0.5919 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.190619663801044] Failed to read output from testmodel.py, exit status != 0: 0.6546579780988395 0.681268975 0.10096358100000001 Calling exit ...