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.001467/0.001467, allocations: 114 kB / 17.12 MB, free: 6.008 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: 211.2 kB / 20.1 MB, free: 3.055 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.039/1.039, allocations: 150 MB / 459.5 MB, free: 5.359 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: "" <> 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.003134/0.003134, allocations: 75.31 kB / 0.6361 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2728, allocations: 89.12 MB / 0.7232 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1085/0.3813, allocations: 78.16 MB / 0.7995 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03641/0.4177, allocations: 18.92 MB / 0.818 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006026/0.4237, allocations: 150.7 kB / 0.8181 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005326/0.429, allocations: 1.312 MB / 0.8194 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.443, allocations: 3.821 MB / 0.8231 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006712/0.4497, allocations: 2.099 MB / 0.8252 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01194/0.4616, allocations: 6.697 MB / 0.8317 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00431/0.4659, allocations: 1.712 MB / 0.8334 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008254/0.4742, allocations: 2.709 MB / 0.836 GB, free: 96 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004465/0.4786, allocations: 1.836 MB / 0.8378 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009108/0.4795, allocations: 204 kB / 0.838 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005879/0.4854, allocations: 1.719 MB / 0.8397 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.4867, allocations: 0.564 MB / 0.8403 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.4904, allocations: 1.252 MB / 0.8415 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009857/0.5003, allocations: 3.858 MB / 0.8452 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5003, allocations: 0 / 0.8452 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5003, allocations: 0 / 0.8452 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001364/0.5004, allocations: 0 / 0.8452 GB, free: 6.637 MB / 0.6544 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.007854/0.5083, allocations: 2.802 MB / 0.848 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.5083, allocations: 12.03 kB / 0.848 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000508/0.5088, allocations: 198.8 kB / 0.8482 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.5099, allocations: 294.5 kB / 0.8485 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.5146, allocations: 2.044 MB / 0.8505 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5147, allocations: 106.7 kB / 0.8506 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.515, allocations: 148 kB / 0.8507 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.5184, allocations: 1.513 MB / 0.8522 GB, free: 15.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.5184, allocations: 7.938 kB / 0.8522 GB, free: 15.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.5186, allocations: 63.89 kB / 0.8522 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-05/0.5187, allocations: 39.94 kB / 0.8523 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.5213, allocations: 1.122 MB / 0.8534 GB, free: 14.09 MB / 0.67 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.01101/0.5323, allocations: 7.937 MB / 0.8611 GB, free: 5.504 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5334, allocations: 444.6 kB / 0.8616 GB, free: 5.059 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.5341, allocations: 306.3 kB / 0.8618 GB, free: 4.758 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.5351, allocations: 1.16 MB / 0.863 GB, free: 3.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.5352, allocations: 39.12 kB / 0.863 GB, free: 3.293 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.475e-06/0.5352, allocations: 0 / 0.863 GB, free: 3.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002644/0.5378, allocations: 0.974 MB / 0.864 GB, free: 2.312 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.5379, allocations: 55.97 kB / 0.864 GB, free: 2.246 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.5409, allocations: 1.803 MB / 0.8658 GB, free: 416 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.541, allocations: 41.7 kB / 0.8658 GB, free: 368 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.4518/0.9928, allocations: 0.9514 MB / 0.8668 GB, free: 138 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/0.9933, allocations: 227.3 kB / 0.867 GB, free: 138 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006076/0.9939, allocations: 232.2 kB / 0.8672 GB, free: 137.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.994, allocations: 344.8 kB / 0.8675 GB, free: 137.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.9951, allocations: 327.7 kB / 0.8678 GB, free: 137.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.9964, allocations: 0.6901 MB / 0.8685 GB, free: 137.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.9984, allocations: 1.018 MB / 0.8695 GB, free: 136.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.9984, allocations: 2.906 kB / 0.8695 GB, free: 136.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003331/1.002, allocations: 1.223 MB / 0.8707 GB, free: 136.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/1.002, allocations: 9.531 kB / 0.8707 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.002, allocations: 9.875 kB / 0.8707 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.635e-05/1.002, allocations: 16.22 kB / 0.8707 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.003, allocations: 292.7 kB / 0.871 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/1.003, allocations: 25.83 kB / 0.871 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.005, allocations: 168.9 kB / 0.8712 GB, free: 136.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.005, allocations: 47.81 kB / 0.8712 GB, free: 136.2 MB / 0.67 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.001137/1.006, allocations: 444.6 kB / 0.8717 GB, free: 135.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007991/1.007, allocations: 202.7 kB / 0.8719 GB, free: 135.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/1.009, allocations: 0.8617 MB / 0.8727 GB, free: 135.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.009, allocations: 9.469 kB / 0.8727 GB, free: 135.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.009, allocations: 8.016 kB / 0.8727 GB, free: 135.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/1.011, allocations: 0.7967 MB / 0.8735 GB, free: 135.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/1.016, allocations: 2.45 MB / 0.8759 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.016, allocations: 2.719 kB / 0.8759 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/1.017, allocations: 178.8 kB / 0.8761 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/1.017, allocations: 4.438 kB / 0.8761 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/1.017, allocations: 21.81 kB / 0.8761 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/1.017, allocations: 5.078 kB / 0.8761 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.017, allocations: 2.219 kB / 0.8761 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/1.021, allocations: 1.356 MB / 0.8774 GB, free: 133.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.022, allocations: 373.4 kB / 0.8778 GB, free: 133 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/1.022, allocations: 16.17 kB / 0.8778 GB, free: 133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.024, allocations: 71.47 kB / 0.8779 GB, free: 132.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.024, allocations: 55.5 kB / 0.8779 GB, free: 132.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.024, allocations: 37.78 kB / 0.8779 GB, free: 132.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00316/1.027, allocations: 1.248 MB / 0.8792 GB, free: 132.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/1.027, allocations: 2.906 kB / 0.8792 GB, free: 132.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004404/1.031, allocations: 0.6607 MB / 0.8798 GB, free: 132.3 MB / 0.67 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.004795/1.036, allocations: 2.385 MB / 0.8821 GB, free: 131.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002112/1.038, allocations: 0.7763 MB / 0.8829 GB, free: 130.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.038, allocations: 5.422 kB / 0.8829 GB, free: 130.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000795/1.039, allocations: 337.3 kB / 0.8832 GB, free: 130.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/1.045, allocations: 1.198 MB / 0.8844 GB, free: 130.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/1.067, allocations: 12.67 MB / 0.8968 GB, free: 123.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/1.068, allocations: 1.416 MB / 0.8982 GB, free: 121.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001713/1.07, allocations: 379.8 kB / 0.8985 GB, free: 121.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009866/1.071, allocations: 0.7726 MB / 0.8993 GB, free: 120.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.183e-06/1.071, allocations: 0 / 0.8993 GB, free: 120.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.177, allocations: 57.83 MB / 0.9557 GB, free: 63.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.71, allocations: 7.266 kB / 0.9557 GB, free: 63.48 MB / 0.67 GB " [Timeout remaining time 646] (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: 18.080718550132588] Failed to read output from testmodel.py, exit status != 0: 13.823138127103448 13.841912525 13.33780505 Calling exit ...