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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 115.1 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 192.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8202/0.8202, allocations: 126.7 MB / 424.6 MB, free: 6.207 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 69.3 kB / 0.582 GB, free: 4.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.206, allocations: 78.86 MB / 0.6591 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.06614/0.2722, allocations: 41.62 MB / 0.6997 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.2898, allocations: 10.4 MB / 0.7099 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.2925, allocations: 55.69 kB / 0.7099 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.2951, allocations: 0.6404 MB / 0.7105 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.3021, allocations: 1.881 MB / 0.7124 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.306, allocations: 1.193 MB / 0.7135 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006081/0.3121, allocations: 3.395 MB / 0.7169 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.3142, allocations: 1.064 MB / 0.7179 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.319, allocations: 1.386 MB / 0.7193 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.3216, allocations: 0.8789 MB / 0.7201 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.322, allocations: 100 kB / 0.7202 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.3251, allocations: 0.8579 MB / 0.721 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.3255, allocations: 279 kB / 0.7213 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.3269, allocations: 0.6299 MB / 0.7219 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.3309, allocations: 1.939 MB / 0.7238 GB, free: 2.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3309, allocations: 0 / 0.7238 GB, free: 2.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.709e-06/0.3309, allocations: 3.984 kB / 0.7238 GB, free: 2.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.519e-05/0.331, allocations: 0 / 0.7238 GB, free: 2.605 MB / 0.545 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.002942/0.3339, allocations: 1.548 MB / 0.7253 GB, free: 1.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.334, allocations: 11.97 kB / 0.7253 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.3341, allocations: 118.7 kB / 0.7255 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.3345, allocations: 140.1 kB / 0.7256 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.3367, allocations: 1.115 MB / 0.7267 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.3367, allocations: 54 kB / 0.7267 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.3369, allocations: 71.95 kB / 0.7268 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.3384, allocations: 0.7944 MB / 0.7276 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.3384, allocations: 4 kB / 0.7276 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.3385, allocations: 27.98 kB / 0.7276 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.3385, allocations: 24 kB / 0.7276 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3398, allocations: 0.5672 MB / 0.7282 GB, free: 13.99 MB / 0.5606 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.004954/0.3447, allocations: 3.711 MB / 0.7318 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.3454, allocations: 268.2 kB / 0.7321 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.3458, allocations: 176.7 kB / 0.7322 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.3465, allocations: 0.6609 MB / 0.7329 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3465, allocations: 38.56 kB / 0.7329 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/0.3465, allocations: 0 / 0.7329 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001427/0.3479, allocations: 0.513 MB / 0.7334 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.348, allocations: 67.28 kB / 0.7335 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3494, allocations: 0.9495 MB / 0.7344 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.3495, allocations: 29.7 kB / 0.7344 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/0.35, allocations: 0.5004 MB / 0.7349 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3501, allocations: 119 kB / 0.735 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3503, allocations: 114.2 kB / 0.7351 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3505, allocations: 330 kB / 0.7355 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.3509, allocations: 165 kB / 0.7356 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.3515, allocations: 346.9 kB / 0.7359 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.3525, allocations: 0.5163 MB / 0.7365 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3525, allocations: 0 / 0.7365 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001387/0.3539, allocations: 0.6218 MB / 0.7371 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3539, allocations: 5.719 kB / 0.7371 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.3539, allocations: 8 kB / 0.7371 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.354, allocations: 8 kB / 0.7371 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.3544, allocations: 123.8 kB / 0.7372 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.3545, allocations: 15.88 kB / 0.7372 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.3551, allocations: 87.61 kB / 0.7373 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.3552, allocations: 24 kB / 0.7373 GB, free: 3.992 MB / 0.5606 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.0004991/0.3557, allocations: 277.6 kB / 0.7376 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.3559, allocations: 103.3 kB / 0.7377 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.357, allocations: 0.489 MB / 0.7382 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.357, allocations: 7.984 kB / 0.7382 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.357, allocations: 3.938 kB / 0.7382 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007877/0.3578, allocations: 453.2 kB / 0.7386 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.3602, allocations: 1.363 MB / 0.7399 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3602, allocations: 0 / 0.7399 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.3606, allocations: 79.88 kB / 0.74 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3606, allocations: 4 kB / 0.74 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.3607, allocations: 12.16 kB / 0.74 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3607, allocations: 7.938 kB / 0.74 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3607, allocations: 0 / 0.74 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.3622, allocations: 0.7725 MB / 0.7408 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.3626, allocations: 224.4 kB / 0.741 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.3628, allocations: 16.05 kB / 0.741 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.3633, allocations: 28.03 kB / 0.741 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.3634, allocations: 24.05 kB / 0.7411 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.3634, allocations: 19.98 kB / 0.7411 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001002/0.3644, allocations: 0.6627 MB / 0.7417 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3644, allocations: 0 / 0.7417 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001057/0.3655, allocations: 347.1 kB / 0.7421 GB, free: 14.95 MB / 0.5762 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.002609/0.3681, allocations: 1.597 MB / 0.7436 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.3692, allocations: 421.7 kB / 0.744 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3693, allocations: 0 / 0.744 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.3697, allocations: 187.8 kB / 0.7442 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.3729, allocations: 0.6202 MB / 0.7448 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.3861, allocations: 6.842 MB / 0.7515 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008733/0.387, allocations: 1.04 MB / 0.7525 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009138/0.388, allocations: 203.5 kB / 0.7527 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.3886, allocations: 375.3 kB / 0.7531 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.3886, allocations: 0 / 0.7531 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07245/0.461, allocations: 29.72 MB / 0.7821 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.94, allocations: 3.266 kB / 0.7821 GB, free: 6.012 MB / 0.6075 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_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_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.843495564069599] Failed to read output from testmodel.py, exit status != 0: 11.02511874702759 11.048720452 10.712747531 Calling exit ...