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.001632/0.001632, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002015/0.002015, allocations: 214 kB / 22.99 MB, free: 4.977 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.541/1.541, allocations: 230.6 MB / 256.8 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 0.9997/0.9997, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.002254/0.002254, allocations: 65.02 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1863, allocations: 89.17 MB / 0.7282 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4725/0.6587, allocations: 71.09 MB / 0.7976 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0303/0.689, allocations: 17.59 MB / 0.8148 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004873/0.6939, allocations: 157.4 kB / 0.8149 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.6981, allocations: 1.235 MB / 0.8161 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.7124, allocations: 3.881 MB / 0.8199 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006853/0.7192, allocations: 2.136 MB / 0.822 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01205/0.7313, allocations: 6.815 MB / 0.8287 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.7345, allocations: 1.57 MB / 0.8302 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007407/0.7419, allocations: 2.746 MB / 0.8329 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.7461, allocations: 1.755 MB / 0.8346 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.7466, allocations: 200.2 kB / 0.8348 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.7512, allocations: 1.337 MB / 0.8361 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007805/0.7519, allocations: 0.5697 MB / 0.8366 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.754, allocations: 1.013 MB / 0.8376 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007068/0.761, allocations: 3.802 MB / 0.8413 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7611, allocations: 2.812 kB / 0.8413 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7611, allocations: 0 / 0.8413 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.969e-05/0.7611, allocations: 3.938 kB / 0.8413 GB, free: 0.7734 MB / 0.6075 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.005353/0.7665, allocations: 2.721 MB / 0.844 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7665, allocations: 9.469 kB / 0.844 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.7668, allocations: 206 kB / 0.8442 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.7676, allocations: 280.3 kB / 0.8445 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.7715, allocations: 1.971 MB / 0.8464 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.7716, allocations: 113 kB / 0.8465 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.7718, allocations: 145.2 kB / 0.8466 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.7749, allocations: 1.814 MB / 0.8484 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.7749, allocations: 3.938 kB / 0.8484 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.7751, allocations: 64 kB / 0.8485 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.7751, allocations: 43.98 kB / 0.8485 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.7775, allocations: 1.122 MB / 0.8496 GB, free: 9.676 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.008783/0.7863, allocations: 5.324 MB / 0.8548 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.7873, allocations: 441 kB / 0.8552 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.788, allocations: 306.2 kB / 0.8555 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004139/0.7884, allocations: 116.4 kB / 0.8556 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.7885, allocations: 39.06 kB / 0.8557 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.775e-06/0.7885, allocations: 0 / 0.8557 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002454/0.7909, allocations: 0.9838 MB / 0.8566 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.791, allocations: 59.91 kB / 0.8567 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.7935, allocations: 1.822 MB / 0.8585 GB, free: 384 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-05/0.7936, allocations: 37.7 kB / 0.8585 GB, free: 340 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009343/0.7945, allocations: 0.9529 MB / 0.8594 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.7948, allocations: 234 kB / 0.8597 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.7951, allocations: 226.8 kB / 0.8599 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7953, allocations: 357.9 kB / 0.8602 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.796, allocations: 330.4 kB / 0.8605 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.7973, allocations: 0.9621 MB / 0.8615 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.7991, allocations: 1.017 MB / 0.8625 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.7991, allocations: 4 kB / 0.8625 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00251/0.8016, allocations: 1.226 MB / 0.8637 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.8017, allocations: 8.875 kB / 0.8637 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.8017, allocations: 12 kB / 0.8637 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.8017, allocations: 20 kB / 0.8637 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.8028, allocations: 292.5 kB / 0.864 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.8028, allocations: 23.92 kB / 0.864 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.8041, allocations: 162.9 kB / 0.8642 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/0.8042, allocations: 51.94 kB / 0.8642 GB, free: 10.09 MB / 0.6387 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.0007839/0.805, allocations: 441.4 kB / 0.8646 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.8053, allocations: 206.7 kB / 0.8648 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.8071, allocations: 0.8747 MB / 0.8657 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.8071, allocations: 8 kB / 0.8657 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8071, allocations: 3.984 kB / 0.8657 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.8085, allocations: 0.8018 MB / 0.8665 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.813, allocations: 2.239 MB / 0.8687 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.813, allocations: 0 / 0.8687 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.8138, allocations: 188 kB / 0.8689 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.8138, allocations: 4 kB / 0.8689 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.8139, allocations: 19.98 kB / 0.8689 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.8139, allocations: 8 kB / 0.8689 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8139, allocations: 3.938 kB / 0.8689 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.8165, allocations: 1.359 MB / 0.8702 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/0.8173, allocations: 298.4 kB / 0.8705 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.8176, allocations: 20 kB / 0.8705 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/0.8185, allocations: 63.86 kB / 0.8706 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8187, allocations: 60.28 kB / 0.8706 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.8187, allocations: 35.97 kB / 0.8707 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001882/0.8206, allocations: 1.251 MB / 0.8719 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.8206, allocations: 0 / 0.8719 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001853/0.8225, allocations: 0.6626 MB / 0.8725 GB, free: 1.375 MB / 0.6387 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.003894/0.8264, allocations: 2.393 MB / 0.8749 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.8282, allocations: 0.7773 MB / 0.8756 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8282, allocations: 0 / 0.8756 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.8289, allocations: 343.2 kB / 0.876 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/0.8339, allocations: 1.198 MB / 0.8771 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/0.8546, allocations: 12.7 MB / 0.8895 GB, free: 15.44 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009676/0.8556, allocations: 0.8359 MB / 0.8903 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001543/0.8571, allocations: 379.2 kB / 0.8907 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.8582, allocations: 0.7726 MB / 0.8915 GB, free: 13.42 MB / 0.67 GB Notification: Performance of SimCode: time 9.41e-07/0.8582, allocations: 0 / 0.8915 GB, free: 13.42 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/0.9869, allocations: 63.11 MB / 0.9531 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.54, allocations: 11.88 kB / 0.9531 GB, free: 15.12 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.617026122752577] Failed to read output from testmodel.py, exit status != 0: 15.693432598840445 15.710485157 14.946052913 Calling exit ...