Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001294/0.001294, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001643/0.001643, allocations: 221.6 kB / 23 MB, free: 5.07 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.027 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 0.9732/0.9732, allocations: 150 MB / 463.2 MB, free: 10.5 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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [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.002025/0.002025, allocations: 79.33 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.178, allocations: 89.16 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4561/0.6341, allocations: 78.88 MB / 0.8054 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.6656, allocations: 19 MB / 0.8239 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/0.6713, allocations: 158 kB / 0.8241 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.6759, allocations: 1.301 MB / 0.8254 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.013/0.6889, allocations: 3.904 MB / 0.8292 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006576/0.6955, allocations: 2.188 MB / 0.8313 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.7081, allocations: 6.871 MB / 0.838 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.7116, allocations: 1.598 MB / 0.8396 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008122/0.7197, allocations: 2.739 MB / 0.8423 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004532/0.7242, allocations: 1.829 MB / 0.844 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006904/0.7249, allocations: 200.4 kB / 0.8442 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.7307, allocations: 1.751 MB / 0.8459 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.732, allocations: 0.5732 MB / 0.8465 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.7349, allocations: 1.262 MB / 0.8477 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008619/0.7435, allocations: 3.863 MB / 0.8515 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7435, allocations: 0 / 0.8515 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7435, allocations: 0 / 0.8515 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.39e-05/0.7436, allocations: 0 / 0.8515 GB, free: 9.301 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005655/0.7493, allocations: 2.724 MB / 0.8542 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7493, allocations: 12.03 kB / 0.8542 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002603/0.7496, allocations: 202.8 kB / 0.8544 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008352/0.7504, allocations: 282.9 kB / 0.8546 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.7545, allocations: 1.976 MB / 0.8566 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.7546, allocations: 106.6 kB / 0.8567 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.7548, allocations: 144 kB / 0.8568 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.7577, allocations: 1.52 MB / 0.8583 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.7577, allocations: 3.938 kB / 0.8583 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7578, allocations: 56 kB / 0.8584 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-05/0.7579, allocations: 43.94 kB / 0.8584 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.7602, allocations: 1.13 MB / 0.8595 GB, free: 1.344 MB / 0.6231 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.01026/0.7705, allocations: 7.832 MB / 0.8671 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.7715, allocations: 444.3 kB / 0.8676 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.7721, allocations: 310.2 kB / 0.8679 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/0.7725, allocations: 104.4 kB / 0.868 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.7725, allocations: 43.06 kB / 0.868 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.475e-06/0.7725, allocations: 0 / 0.868 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002411/0.7749, allocations: 0.976 MB / 0.869 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.775, allocations: 59.91 kB / 0.869 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.7776, allocations: 1.803 MB / 0.8708 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.7777, allocations: 45.7 kB / 0.8708 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/0.7786, allocations: 0.9452 MB / 0.8717 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.7789, allocations: 230.1 kB / 0.872 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.7792, allocations: 230.8 kB / 0.8722 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7794, allocations: 349.9 kB / 0.8725 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.78, allocations: 330.4 kB / 0.8728 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.7811, allocations: 0.6938 MB / 0.8735 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.7828, allocations: 1.009 MB / 0.8745 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.7828, allocations: 4 kB / 0.8745 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002499/0.7853, allocations: 1.231 MB / 0.8757 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.7853, allocations: 12 kB / 0.8757 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.7853, allocations: 9 kB / 0.8757 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.7853, allocations: 16 kB / 0.8757 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/0.7863, allocations: 291.8 kB / 0.876 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.434e-05/0.7864, allocations: 27.91 kB / 0.876 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.7877, allocations: 166.9 kB / 0.8762 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.7878, allocations: 51.94 kB / 0.8762 GB, free: 15.13 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008435/0.7887, allocations: 445.3 kB / 0.8767 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.7891, allocations: 206.7 kB / 0.8769 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.7909, allocations: 0.8823 MB / 0.8777 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.7909, allocations: 8 kB / 0.8777 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7909, allocations: 0.875 kB / 0.8777 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.7923, allocations: 0.8017 MB / 0.8785 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/0.7966, allocations: 2.433 MB / 0.8809 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.7966, allocations: 0 / 0.8809 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.7974, allocations: 188 kB / 0.8811 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.7974, allocations: 4 kB / 0.8811 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.7974, allocations: 20 kB / 0.8811 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.7975, allocations: 7.984 kB / 0.8811 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.7975, allocations: 7.938 kB / 0.8811 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.7999, allocations: 1.359 MB / 0.8824 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/0.8007, allocations: 306.4 kB / 0.8827 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.8009, allocations: 16 kB / 0.8828 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.8018, allocations: 55.92 kB / 0.8828 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8019, allocations: 60.28 kB / 0.8829 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.802, allocations: 39.97 kB / 0.8829 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001794/0.8038, allocations: 1.251 MB / 0.8841 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8038, allocations: 0 / 0.8841 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001896/0.8057, allocations: 0.6626 MB / 0.8848 GB, free: 6.203 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00367/0.8093, allocations: 2.387 MB / 0.8871 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.8111, allocations: 0.7887 MB / 0.8879 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.8111, allocations: 4 kB / 0.8879 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.8118, allocations: 331.8 kB / 0.8882 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/0.8169, allocations: 1.198 MB / 0.8894 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/0.8373, allocations: 12.7 MB / 0.9018 GB, free: 4.281 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.8384, allocations: 1.405 MB / 0.9031 GB, free: 2.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001481/0.8399, allocations: 393.5 kB / 0.9035 GB, free: 2.457 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.8409, allocations: 0.7648 MB / 0.9043 GB, free: 1.691 MB / 0.67 GB Notification: Performance of SimCode: time 1.402e-06/0.8409, allocations: 0 / 0.9043 GB, free: 1.691 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/0.9552, allocations: 58.6 MB / 0.9615 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.81, allocations: 4 kB / 0.9615 GB, free: 7.605 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.710622340000555] Failed to read output from testmodel.py, exit status != 0: 15.95702029200038 15.980285457 15.232996942 Calling exit ...