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.001375/0.001375, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001582/0.001582, allocations: 220.6 kB / 23 MB, free: 4.973 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 1.001/1.001, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.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.002054/0.002054, allocations: 67.58 kB / 0.6415 GB, free: 9.668 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 89.18 MB / 0.7286 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4184/0.5998, allocations: 38.41 MB / 0.7662 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.6121, allocations: 9.666 MB / 0.7756 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.6137, allocations: 82.12 kB / 0.7757 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.6153, allocations: 0.6398 MB / 0.7763 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.6201, allocations: 2.005 MB / 0.7783 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.6231, allocations: 1.214 MB / 0.7794 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.6279, allocations: 3.46 MB / 0.7828 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.6294, allocations: 0.8155 MB / 0.7836 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.6335, allocations: 1.468 MB / 0.785 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.6356, allocations: 0.8846 MB / 0.7859 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.6358, allocations: 100.1 kB / 0.786 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.638, allocations: 0.7097 MB / 0.7867 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.6383, allocations: 291.5 kB / 0.787 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.6391, allocations: 0.5149 MB / 0.7875 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.6428, allocations: 1.964 MB / 0.7894 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6428, allocations: 1.031 kB / 0.7894 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6428, allocations: 0 / 0.7894 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.976e-05/0.6429, allocations: 1.094 kB / 0.7894 GB, free: 5.078 MB / 0.5762 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.003004/0.6459, allocations: 1.474 MB / 0.7908 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6459, allocations: 13.62 kB / 0.7909 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.6463, allocations: 138.8 kB / 0.791 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.6481, allocations: 1.064 MB / 0.792 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.6482, allocations: 56.03 kB / 0.7921 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.6483, allocations: 72.42 kB / 0.7921 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.6496, allocations: 0.9406 MB / 0.7931 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.6496, allocations: 1.062 kB / 0.7931 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.6497, allocations: 32.56 kB / 0.7931 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.6497, allocations: 19.28 kB / 0.7931 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6508, allocations: 0.5673 MB / 0.7937 GB, free: 2.641 MB / 0.5762 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.003648/0.6545, allocations: 2.615 MB / 0.7962 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.655, allocations: 252.3 kB / 0.7965 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.6553, allocations: 172.2 kB / 0.7966 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002581/0.6556, allocations: 57.34 kB / 0.7967 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.6556, allocations: 38.28 kB / 0.7967 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.6556, allocations: 0 / 0.7967 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001375/0.657, allocations: 0.506 MB / 0.7972 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.657, allocations: 56.56 kB / 0.7973 GB, free: 472 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.6581, allocations: 0.8123 MB / 0.7981 GB, free: 120 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.6582, allocations: 33.55 kB / 0.7981 GB, free: 84 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.6587, allocations: 0.5127 MB / 0.7986 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.6588, allocations: 115.5 kB / 0.7987 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.659, allocations: 115.6 kB / 0.7988 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6592, allocations: 334.7 kB / 0.7991 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.6595, allocations: 164.9 kB / 0.7993 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.6602, allocations: 0.494 MB / 0.7998 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.6611, allocations: 0.5144 MB / 0.8003 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6611, allocations: 1.312 kB / 0.8003 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001196/0.6623, allocations: 0.6018 MB / 0.8009 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6623, allocations: 8.688 kB / 0.8009 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6623, allocations: 5.781 kB / 0.8009 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.6624, allocations: 15.38 kB / 0.8009 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.6628, allocations: 122.7 kB / 0.801 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.6628, allocations: 10.23 kB / 0.801 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.6634, allocations: 62.08 kB / 0.8011 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.6635, allocations: 24.78 kB / 0.8011 GB, free: 14.04 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.0004291/0.6639, allocations: 281 kB / 0.8014 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.6641, allocations: 101.3 kB / 0.8015 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009943/0.665, allocations: 478.2 kB / 0.8019 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.6651, allocations: 3.906 kB / 0.8019 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6651, allocations: 0 / 0.8019 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007669/0.6658, allocations: 458.6 kB / 0.8024 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.6679, allocations: 1.158 MB / 0.8035 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.6679, allocations: 5.172 kB / 0.8035 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.6683, allocations: 79.53 kB / 0.8036 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.6683, allocations: 2.719 kB / 0.8036 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.6683, allocations: 15.09 kB / 0.8036 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6683, allocations: 2.906 kB / 0.8036 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6683, allocations: 1.75 kB / 0.8036 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.6697, allocations: 0.7728 MB / 0.8044 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.67, allocations: 133.6 kB / 0.8045 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6701, allocations: 12.31 kB / 0.8045 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.6706, allocations: 33.36 kB / 0.8045 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.6707, allocations: 29.83 kB / 0.8046 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.6707, allocations: 22.31 kB / 0.8046 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007091/0.6714, allocations: 0.5467 MB / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6714, allocations: 1.406 kB / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001124/0.6725, allocations: 358 kB / 0.8054 GB, free: 11.87 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.0006252/0.6732, allocations: 375.8 kB / 0.8058 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.674, allocations: 409.8 kB / 0.8062 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.674, allocations: 1.094 kB / 0.8062 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.6744, allocations: 178 kB / 0.8064 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.6765, allocations: 491.3 kB / 0.8068 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.6789, allocations: 1.598 MB / 0.8084 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.6794, allocations: 449.3 kB / 0.8088 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005811/0.68, allocations: 174.5 kB / 0.809 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.6801, allocations: 77.33 kB / 0.8091 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.6801, allocations: 0 / 0.8091 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.03302/0.7131, allocations: 20.29 MB / 0.8289 GB, free: 14.25 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.801791671663523] Failed to read output from testmodel.py, exit status != 0: 0.7221191320568323 0.736934996 0.09089274300000001 Calling exit ...