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.001944/0.001944, allocations: 109 kB / 20.48 MB, free: 1.473 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.00248/0.00248, allocations: 209.8 kB / 23.79 MB, free: 4.684 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.9219/0.9219, allocations: 150 MB / 463.9 MB, free: 10.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",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.002134/0.002134, allocations: 62.62 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1746, allocations: 89.18 MB / 0.7291 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4098/0.5844, allocations: 42.51 MB / 0.7706 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.598, allocations: 10.46 MB / 0.7808 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.6007, allocations: 79.78 kB / 0.7809 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.603, allocations: 0.668 MB / 0.7816 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.6091, allocations: 2.028 MB / 0.7836 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.6128, allocations: 1.233 MB / 0.7848 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006378/0.6191, allocations: 3.491 MB / 0.7882 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.6215, allocations: 0.8212 MB / 0.789 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.6261, allocations: 1.459 MB / 0.7904 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.6286, allocations: 0.9258 MB / 0.7913 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004675/0.6291, allocations: 98.5 kB / 0.7914 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.6328, allocations: 0.9417 MB / 0.7923 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006106/0.6334, allocations: 293.2 kB / 0.7926 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.6357, allocations: 0.6341 MB / 0.7932 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006663/0.6424, allocations: 1.992 MB / 0.7952 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.6424, allocations: 1.375 kB / 0.7952 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6424, allocations: 0 / 0.7952 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.753e-05/0.6425, allocations: 3.938 kB / 0.7952 GB, free: 3.395 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.004483/0.647, allocations: 1.485 MB / 0.7966 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.647, allocations: 9.125 kB / 0.7966 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.843e-05/0.6471, allocations: 19.09 kB / 0.7966 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.6474, allocations: 121 kB / 0.7968 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.648, allocations: 143.8 kB / 0.7969 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.6502, allocations: 1.052 MB / 0.7979 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.6503, allocations: 54.92 kB / 0.798 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.6504, allocations: 70.88 kB / 0.798 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.6518, allocations: 0.7899 MB / 0.7988 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.6518, allocations: 5.109 kB / 0.7988 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.6519, allocations: 31.42 kB / 0.7988 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.6519, allocations: 25.17 kB / 0.7989 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.6529, allocations: 0.5701 MB / 0.7994 GB, free: 1.035 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.004336/0.6572, allocations: 3.641 MB / 0.803 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.6578, allocations: 250 kB / 0.8032 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.6582, allocations: 160.7 kB / 0.8034 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.6584, allocations: 62.7 kB / 0.8034 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.6585, allocations: 41.44 kB / 0.8035 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.6585, allocations: 0 / 0.8035 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001418/0.6599, allocations: 0.5142 MB / 0.804 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.6599, allocations: 54.25 kB / 0.804 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.6612, allocations: 0.9604 MB / 0.805 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.6613, allocations: 37.08 kB / 0.805 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.6617, allocations: 0.5068 MB / 0.8055 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6619, allocations: 119.6 kB / 0.8056 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.662, allocations: 115.4 kB / 0.8057 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6622, allocations: 326.6 kB / 0.806 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.6625, allocations: 170.4 kB / 0.8062 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.6631, allocations: 348.3 kB / 0.8065 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.6639, allocations: 0.5102 MB / 0.807 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6639, allocations: 1.562 kB / 0.807 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0013/0.6652, allocations: 0.6164 MB / 0.8076 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6653, allocations: 14.83 kB / 0.8076 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6653, allocations: 6.125 kB / 0.8076 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.6653, allocations: 7.938 kB / 0.8077 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.6657, allocations: 125 kB / 0.8078 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.6658, allocations: 13.22 kB / 0.8078 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.6665, allocations: 80.11 kB / 0.8079 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.6665, allocations: 36.02 kB / 0.8079 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.0004476/0.667, allocations: 270.5 kB / 0.8082 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.6672, allocations: 103.4 kB / 0.8082 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009958/0.6682, allocations: 498.5 kB / 0.8087 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.6682, allocations: 8.594 kB / 0.8087 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6682, allocations: 7.875 kB / 0.8087 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000735/0.6689, allocations: 454.5 kB / 0.8092 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.6712, allocations: 1.344 MB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6712, allocations: 1.156 kB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.6716, allocations: 72.33 kB / 0.8106 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.6716, allocations: 6.484 kB / 0.8106 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.6716, allocations: 12.44 kB / 0.8106 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6716, allocations: 7.031 kB / 0.8106 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6716, allocations: 1.312 kB / 0.8106 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.673, allocations: 0.7883 MB / 0.8114 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.6734, allocations: 154.6 kB / 0.8115 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.6735, allocations: 7.25 kB / 0.8115 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.674, allocations: 30.34 kB / 0.8115 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.6741, allocations: 29.14 kB / 0.8116 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.6742, allocations: 20.83 kB / 0.8116 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009416/0.6751, allocations: 0.6763 MB / 0.8122 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6751, allocations: 0 / 0.8122 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001171/0.6763, allocations: 340.4 kB / 0.8126 GB, free: 8.953 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.002256/0.6785, allocations: 1.567 MB / 0.8141 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009609/0.6795, allocations: 423.7 kB / 0.8145 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6795, allocations: 1.281 kB / 0.8145 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.6799, allocations: 178.3 kB / 0.8147 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.6827, allocations: 0.6217 MB / 0.8153 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6933, allocations: 6.876 MB / 0.822 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.694, allocations: 1.035 MB / 0.823 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008792/0.6949, allocations: 200.7 kB / 0.8232 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.6954, allocations: 371.4 kB / 0.8236 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.6954, allocations: 3.938 kB / 0.8236 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06558/0.761, allocations: 30.32 MB / 0.8532 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.64, allocations: 5.969 kB / 0.8532 GB, free: 7.492 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.492048184969462] Failed to read output from testmodel.py, exit status != 0: 13.822253746970091 13.838851772 13.192817654 Calling exit ...