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.001419/0.001419, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001754/0.001754, allocations: 227.9 kB / 23.01 MB, free: 5.004 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9206/0.9206, allocations: 150 MB / 463.2 MB, free: 10.45 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.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: 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.002173/0.002173, allocations: 61.84 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1861, allocations: 89.17 MB / 0.7284 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4243/0.6104, allocations: 42.51 MB / 0.7699 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01401/0.6244, allocations: 10.46 MB / 0.7801 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.6272, allocations: 81.06 kB / 0.7802 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.6295, allocations: 0.6671 MB / 0.7808 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.6356, allocations: 2.019 MB / 0.7828 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.6393, allocations: 1.24 MB / 0.784 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006322/0.6456, allocations: 3.484 MB / 0.7874 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.6476, allocations: 0.8233 MB / 0.7882 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.652, allocations: 1.466 MB / 0.7896 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.6541, allocations: 0.9166 MB / 0.7905 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004443/0.6545, allocations: 104 kB / 0.7906 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.6578, allocations: 0.9393 MB / 0.7916 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.6584, allocations: 293.7 kB / 0.7918 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.66, allocations: 0.6426 MB / 0.7925 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/0.6642, allocations: 1.992 MB / 0.7944 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6642, allocations: 0.7812 kB / 0.7944 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6642, allocations: 0 / 0.7944 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.025e-05/0.6643, allocations: 0 / 0.7944 GB, free: 3.379 MB / 0.5762 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.002689/0.667, allocations: 1.481 MB / 0.7958 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.667, allocations: 9.531 kB / 0.7959 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.6671, allocations: 116.3 kB / 0.796 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.6675, allocations: 143.9 kB / 0.7961 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.6694, allocations: 1.059 MB / 0.7971 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.6694, allocations: 55.31 kB / 0.7972 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.6695, allocations: 72.06 kB / 0.7973 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6708, allocations: 0.7916 MB / 0.798 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6708, allocations: 8.141 kB / 0.798 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.6708, allocations: 28.27 kB / 0.7981 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.6709, allocations: 18.06 kB / 0.7981 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.6719, allocations: 0.5736 MB / 0.7986 GB, free: 1.023 MB / 0.5762 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.004178/0.6761, allocations: 3.631 MB / 0.8022 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.6766, allocations: 255.1 kB / 0.8024 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.6769, allocations: 170.5 kB / 0.8026 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.6772, allocations: 54.33 kB / 0.8027 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6772, allocations: 38.38 kB / 0.8027 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.6772, allocations: 0 / 0.8027 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001223/0.6784, allocations: 0.5197 MB / 0.8032 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.6785, allocations: 54.75 kB / 0.8032 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.6797, allocations: 0.9593 MB / 0.8042 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.6798, allocations: 32.52 kB / 0.8042 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.6802, allocations: 0.5088 MB / 0.8047 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.6803, allocations: 122.3 kB / 0.8048 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.6805, allocations: 119.7 kB / 0.8049 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6807, allocations: 326.5 kB / 0.8053 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.681, allocations: 161.8 kB / 0.8054 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.6816, allocations: 353.9 kB / 0.8057 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.6824, allocations: 0.5131 MB / 0.8062 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6824, allocations: 1.281 kB / 0.8062 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001233/0.6837, allocations: 0.6156 MB / 0.8068 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6837, allocations: 11.38 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6837, allocations: 8.5 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.6837, allocations: 8.875 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.6842, allocations: 131.6 kB / 0.807 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.6842, allocations: 9.25 kB / 0.807 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.6849, allocations: 83.22 kB / 0.8071 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.6849, allocations: 26.92 kB / 0.8071 GB, free: 11.54 MB / 0.5919 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.0004336/0.6854, allocations: 275.1 kB / 0.8074 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.6856, allocations: 103.7 kB / 0.8075 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.6865, allocations: 491.4 kB / 0.8079 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.6865, allocations: 4 kB / 0.8079 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6865, allocations: 1.312 kB / 0.808 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007221/0.6873, allocations: 461.3 kB / 0.8084 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.6896, allocations: 1.345 MB / 0.8097 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6896, allocations: 1 kB / 0.8097 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.69, allocations: 84.56 kB / 0.8098 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.69, allocations: 2.812 kB / 0.8098 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.69, allocations: 7.406 kB / 0.8098 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.69, allocations: 2.812 kB / 0.8098 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.69, allocations: 2.781 kB / 0.8098 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.6914, allocations: 0.7918 MB / 0.8106 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.6918, allocations: 153.8 kB / 0.8107 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6919, allocations: 7.062 kB / 0.8107 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.6924, allocations: 35.25 kB / 0.8108 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.6925, allocations: 24.73 kB / 0.8108 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.6925, allocations: 17.02 kB / 0.8108 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009411/0.6934, allocations: 0.676 MB / 0.8115 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6934, allocations: 1.25 kB / 0.8115 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001148/0.6946, allocations: 338.9 kB / 0.8118 GB, free: 8.926 MB / 0.5919 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.002229/0.6968, allocations: 1.571 MB / 0.8133 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009376/0.6978, allocations: 423.1 kB / 0.8137 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6978, allocations: 5.094 kB / 0.8137 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.6981, allocations: 171.8 kB / 0.8139 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.7008, allocations: 0.618 MB / 0.8145 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.7112, allocations: 6.875 MB / 0.8212 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.7118, allocations: 1.048 MB / 0.8222 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007628/0.7126, allocations: 191 kB / 0.8224 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.7131, allocations: 371.4 kB / 0.8228 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.7131, allocations: 0 / 0.8228 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07112/0.7842, allocations: 30.28 MB / 0.8523 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.56, allocations: 3.938 kB / 0.8523 GB, free: 7.531 MB / 0.6231 GB " [Timeout remaining time 646] (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: 17.436073024997313] Failed to read output from testmodel.py, exit status != 0: 13.704686356999446 13.73370985 13.063839713 Calling exit ...