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.00151/0.00151, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001715/0.001715, allocations: 207.4 kB / 23.74 MB, free: 4.453 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.104/1.104, allocations: 149.9 MB / 463.8 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] 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.002338/0.002338, allocations: 71.06 kB / 0.6423 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1992, allocations: 89.17 MB / 0.7294 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4881/0.6873, allocations: 38.42 MB / 0.7669 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.7022, allocations: 9.658 MB / 0.7763 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.7047, allocations: 82.88 kB / 0.7764 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.7067, allocations: 0.6393 MB / 0.777 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.7127, allocations: 2.009 MB / 0.779 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.7161, allocations: 1.211 MB / 0.7802 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005435/0.7215, allocations: 3.463 MB / 0.7836 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.723, allocations: 0.8054 MB / 0.7844 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.7272, allocations: 1.479 MB / 0.7858 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.7291, allocations: 0.8766 MB / 0.7867 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.7293, allocations: 100.8 kB / 0.7868 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.7317, allocations: 0.7075 MB / 0.7874 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.7321, allocations: 299.7 kB / 0.7877 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.7329, allocations: 0.5099 MB / 0.7882 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.7374, allocations: 1.961 MB / 0.7901 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7374, allocations: 0.6094 kB / 0.7901 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7374, allocations: 5.188 kB / 0.7901 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.232e-05/0.7375, allocations: 0 / 0.7901 GB, free: 5.086 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.002791/0.7402, allocations: 1.477 MB / 0.7916 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7403, allocations: 10.42 kB / 0.7916 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.7406, allocations: 138.7 kB / 0.7917 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.7426, allocations: 1.063 MB / 0.7928 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.7426, allocations: 58.3 kB / 0.7928 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.7427, allocations: 72.97 kB / 0.7929 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.7441, allocations: 0.9447 MB / 0.7938 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.7441, allocations: 5.375 kB / 0.7938 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.7442, allocations: 26.38 kB / 0.7938 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.7442, allocations: 24.64 kB / 0.7939 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.7454, allocations: 0.5683 MB / 0.7944 GB, free: 2.645 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.003537/0.749, allocations: 2.616 MB / 0.797 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.7495, allocations: 249 kB / 0.7972 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.7498, allocations: 167.1 kB / 0.7974 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.7501, allocations: 62.5 kB / 0.7974 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7501, allocations: 37.69 kB / 0.7975 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.7501, allocations: 0 / 0.7975 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001141/0.7512, allocations: 0.5009 MB / 0.798 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.7513, allocations: 57.22 kB / 0.798 GB, free: 480 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.7522, allocations: 0.8124 MB / 0.7988 GB, free: 128 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.7522, allocations: 32.73 kB / 0.7988 GB, free: 92 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.7528, allocations: 0.5195 MB / 0.7993 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.7529, allocations: 121.3 kB / 0.7995 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.7531, allocations: 113 kB / 0.7996 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7533, allocations: 330 kB / 0.7999 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.7537, allocations: 170.9 kB / 0.8 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.7543, allocations: 0.4929 MB / 0.8005 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.7552, allocations: 0.5102 MB / 0.801 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.7552, allocations: 1.094 kB / 0.801 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001172/0.7564, allocations: 0.6016 MB / 0.8016 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7564, allocations: 9.719 kB / 0.8016 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7564, allocations: 5.188 kB / 0.8016 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.7564, allocations: 8.312 kB / 0.8016 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.7569, allocations: 130.6 kB / 0.8018 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.7569, allocations: 14.31 kB / 0.8018 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.7575, allocations: 65.58 kB / 0.8018 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.7576, allocations: 30.98 kB / 0.8019 GB, free: 14.06 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.0004705/0.758, allocations: 275.4 kB / 0.8021 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.7582, allocations: 93.62 kB / 0.8022 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.7592, allocations: 474.9 kB / 0.8027 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.7592, allocations: 6.875 kB / 0.8027 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7592, allocations: 0 / 0.8027 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007723/0.76, allocations: 458.7 kB / 0.8031 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.7623, allocations: 1.162 MB / 0.8043 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7623, allocations: 5.062 kB / 0.8043 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.7626, allocations: 76.88 kB / 0.8043 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7626, allocations: 2.125 kB / 0.8043 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.7626, allocations: 20.75 kB / 0.8044 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7627, allocations: 6.625 kB / 0.8044 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7627, allocations: 1.344 kB / 0.8044 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.764, allocations: 0.7608 MB / 0.8051 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.7643, allocations: 139.2 kB / 0.8052 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7644, allocations: 15.66 kB / 0.8053 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.7649, allocations: 25.81 kB / 0.8053 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.7649, allocations: 27.8 kB / 0.8053 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.765, allocations: 18.94 kB / 0.8053 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007593/0.7657, allocations: 0.5506 MB / 0.8059 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7657, allocations: 0 / 0.8059 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001239/0.767, allocations: 357.3 kB / 0.8062 GB, free: 11.89 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.0006838/0.7677, allocations: 375.3 kB / 0.8066 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000924/0.7686, allocations: 409.5 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7686, allocations: 1.125 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.769, allocations: 175.9 kB / 0.8071 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.771, allocations: 494.2 kB / 0.8076 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.7739, allocations: 1.636 MB / 0.8092 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.7744, allocations: 448.4 kB / 0.8096 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.7746, allocations: 76.47 kB / 0.8097 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.7746, allocations: 0 / 0.8097 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.03056/0.8052, allocations: 16.91 MB / 0.8262 GB, free: 1.473 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.12142621492967] Failed to read output from testmodel.py, exit status != 0: 0.8144569690339267 0.82877442 0.088086914 Calling exit ...