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.001307/0.001307, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001156/0.001156, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8885/0.8885, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.57/0.57, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 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.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 2.124e-06/2.124e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.073e-05, allocations: 10.22 kB / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02633/0.02635, allocations: 38.13 MB / 0.5914 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009912/0.03627, allocations: 9.656 MB / 0.6009 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.03735, allocations: 79.38 kB / 0.6009 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.03852, allocations: 0.6441 MB / 0.6016 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.0422, allocations: 2.051 MB / 0.6036 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.04446, allocations: 1.247 MB / 0.6048 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.0479, allocations: 3.464 MB / 0.6082 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.04898, allocations: 0.7767 MB / 0.6089 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.05192, allocations: 1.875 MB / 0.6108 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.05294, allocations: 0.7787 MB / 0.6115 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.05305, allocations: 100 kB / 0.6116 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.05445, allocations: 0.7247 MB / 0.6123 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.05466, allocations: 302.8 kB / 0.6126 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.05499, allocations: 442.9 kB / 0.613 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.0567, allocations: 1.963 MB / 0.615 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0567, allocations: 0 / 0.615 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.05671, allocations: 4 kB / 0.615 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.05672, allocations: 0 / 0.615 GB, free: 3.273 MB / 0.5261 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.001603/0.05832, allocations: 1.469 MB / 0.6164 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.05837, allocations: 12.61 kB / 0.6164 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.05847, allocations: 114.7 kB / 0.6165 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.0587, allocations: 143.9 kB / 0.6166 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.05996, allocations: 1.051 MB / 0.6177 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.05999, allocations: 50 kB / 0.6177 GB, free: 372 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.06007, allocations: 79.89 kB / 0.6178 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/0.06103, allocations: 0.9411 MB / 0.6187 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.06105, allocations: 4 kB / 0.6187 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.0611, allocations: 28 kB / 0.6187 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.06112, allocations: 23.98 kB / 0.6188 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.06181, allocations: 0.5672 MB / 0.6193 GB, free: 14.65 MB / 0.5417 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.002435/0.06425, allocations: 2.732 MB / 0.622 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.06463, allocations: 250.3 kB / 0.6222 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.06482, allocations: 166.9 kB / 0.6224 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.06497, allocations: 63.95 kB / 0.6225 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.06499, allocations: 38.56 kB / 0.6225 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.06499, allocations: 0 / 0.6225 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31): time 0.0006938/0.06569, allocations: 0.513 MB / 0.623 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.06572, allocations: 55.41 kB / 0.623 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.06647, allocations: 0.9689 MB / 0.624 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.0665, allocations: 37.64 kB / 0.624 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.06677, allocations: 0.4927 MB / 0.6245 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.06684, allocations: 119 kB / 0.6246 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.06693, allocations: 114.3 kB / 0.6247 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.06717, allocations: 329.9 kB / 0.625 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.06737, allocations: 161.2 kB / 0.6252 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.06769, allocations: 0.4982 MB / 0.6257 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.06816, allocations: 0.5117 MB / 0.6262 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.06817, allocations: 0 / 0.6262 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006337/0.0688, allocations: 0.6292 MB / 0.6268 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.06882, allocations: 8 kB / 0.6268 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.06882, allocations: 4 kB / 0.6268 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.06884, allocations: 8 kB / 0.6268 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.06907, allocations: 128.2 kB / 0.6269 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.06908, allocations: 15.92 kB / 0.627 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.06936, allocations: 87.36 kB / 0.627 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.06939, allocations: 28 kB / 0.6271 GB, free: 6.359 MB / 0.5417 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.000228/0.06961, allocations: 273.7 kB / 0.6273 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.06971, allocations: 107.3 kB / 0.6274 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.07027, allocations: 490.2 kB / 0.6279 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.07028, allocations: 3.984 kB / 0.6279 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.07028, allocations: 4 kB / 0.6279 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000405/0.07069, allocations: 455.9 kB / 0.6283 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.07188, allocations: 1.237 MB / 0.6295 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.07188, allocations: 4 kB / 0.6295 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.07205, allocations: 75.89 kB / 0.6296 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.07206, allocations: 7.938 kB / 0.6296 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.07208, allocations: 16.14 kB / 0.6296 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.07208, allocations: 0 / 0.6296 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.07208, allocations: 4 kB / 0.6296 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.07284, allocations: 0.7759 MB / 0.6304 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.07304, allocations: 159.1 kB / 0.6306 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.0731, allocations: 16.05 kB / 0.6306 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.07335, allocations: 27.97 kB / 0.6306 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.07341, allocations: 23.95 kB / 0.6306 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.07343, allocations: 19.98 kB / 0.6306 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005529/0.07399, allocations: 0.6629 MB / 0.6313 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.07399, allocations: 0 / 0.6313 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005907/0.07458, allocations: 343.3 kB / 0.6316 GB, free: 1.551 MB / 0.5417 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.00152/0.0761, allocations: 1.591 MB / 0.6332 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.07661, allocations: 412.8 kB / 0.6336 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.07661, allocations: 4 kB / 0.6336 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.07683, allocations: 171.8 kB / 0.6337 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.0782, allocations: 0.6061 MB / 0.6343 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006368/0.08457, allocations: 6.824 MB / 0.641 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.08485, allocations: 453.3 kB / 0.6414 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004203/0.08527, allocations: 190 kB / 0.6416 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.08558, allocations: 372.4 kB / 0.642 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.08558, allocations: 0 / 0.642 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2868/0.3724, allocations: 32.49 MB / 0.6737 GB, free: 90.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.78, allocations: 1.375 kB / 0.6737 GB, free: 90.93 MB / 0.5573 GB " [Timeout remaining time 651] (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: 11.393002157099545] Failed to read output from testmodel.py, exit status != 0: 8.875052396208048 8.882727557 8.824622501 Calling exit ...