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.001812/0.001812, allocations: 119 kB / 19.69 MB, free: 2.199 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.002346/0.002346, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.463/1.463, 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.9678/0.9678, 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.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.002197/0.002197, allocations: 69.98 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1785, allocations: 89.17 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4466/0.6251, allocations: 78.89 MB / 0.8054 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03002/0.6551, allocations: 18.99 MB / 0.8239 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004977/0.6601, allocations: 154.5 kB / 0.8241 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.6642, allocations: 1.312 MB / 0.8254 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.6758, allocations: 3.902 MB / 0.8292 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00704/0.6829, allocations: 2.195 MB / 0.8313 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01245/0.6953, allocations: 6.854 MB / 0.838 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.699, allocations: 1.597 MB / 0.8396 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008061/0.7071, allocations: 2.743 MB / 0.8422 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004848/0.7119, allocations: 1.834 MB / 0.844 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009363/0.7129, allocations: 199.6 kB / 0.8442 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00646/0.7193, allocations: 1.759 MB / 0.8459 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.7204, allocations: 0.5757 MB / 0.8465 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.7232, allocations: 1.251 MB / 0.8477 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008173/0.7314, allocations: 3.871 MB / 0.8515 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.7314, allocations: 0 / 0.8515 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7314, allocations: 0 / 0.8515 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000137/0.7316, allocations: 4 kB / 0.8515 GB, free: 9.047 MB / 0.6231 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.006399/0.738, allocations: 2.721 MB / 0.8542 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.738, allocations: 8.031 kB / 0.8542 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003533/0.7384, allocations: 202.8 kB / 0.8544 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009617/0.7393, allocations: 282.9 kB / 0.8546 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.7435, allocations: 1.968 MB / 0.8566 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.7436, allocations: 106.7 kB / 0.8567 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.7438, allocations: 148 kB / 0.8568 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.7467, allocations: 1.516 MB / 0.8583 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.7468, allocations: 4 kB / 0.8583 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.7469, allocations: 56 kB / 0.8583 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.747, allocations: 47.92 kB / 0.8584 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.7493, allocations: 1.122 MB / 0.8595 GB, free: 1.188 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.01078/0.7601, allocations: 7.84 MB / 0.8671 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.7612, allocations: 444.4 kB / 0.8676 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.7618, allocations: 310.2 kB / 0.8679 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/0.7622, allocations: 108.4 kB / 0.868 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.7623, allocations: 43.92 kB / 0.868 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.434e-06/0.7623, allocations: 0 / 0.868 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002433/0.7647, allocations: 0.9682 MB / 0.869 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.7648, allocations: 67.84 kB / 0.869 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.7678, allocations: 1.807 MB / 0.8708 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.7679, allocations: 41.7 kB / 0.8708 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009465/0.7688, allocations: 0.9452 MB / 0.8717 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.7691, allocations: 230.1 kB / 0.872 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003352/0.7694, allocations: 226.8 kB / 0.8722 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7696, allocations: 353.9 kB / 0.8725 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.7703, allocations: 338.3 kB / 0.8728 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.7713, allocations: 0.6782 MB / 0.8735 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.7731, allocations: 1.021 MB / 0.8745 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.7731, allocations: 7.984 kB / 0.8745 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002523/0.7757, allocations: 1.223 MB / 0.8757 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.7757, allocations: 12 kB / 0.8757 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.7757, allocations: 15.94 kB / 0.8757 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.7757, allocations: 20.03 kB / 0.8757 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.7768, allocations: 283.6 kB / 0.876 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.107e-05/0.7768, allocations: 23.92 kB / 0.876 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.7781, allocations: 166.9 kB / 0.8762 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7782, allocations: 55.92 kB / 0.8763 GB, free: 14.96 MB / 0.6544 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.0007868/0.779, allocations: 445.3 kB / 0.8767 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/0.7795, allocations: 202.7 kB / 0.8769 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.7814, allocations: 0.8741 MB / 0.8777 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.7814, allocations: 8 kB / 0.8777 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7814, allocations: 0 / 0.8777 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/0.7828, allocations: 0.8095 MB / 0.8785 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.7875, allocations: 2.433 MB / 0.8809 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7875, allocations: 3.984 kB / 0.8809 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.7882, allocations: 175.7 kB / 0.8811 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.7883, allocations: 8.25 kB / 0.8811 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.7883, allocations: 19.98 kB / 0.8811 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.7883, allocations: 4 kB / 0.8811 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7883, allocations: 4 kB / 0.8811 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.7909, allocations: 1.363 MB / 0.8824 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009319/0.7918, allocations: 302.4 kB / 0.8827 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.7922, allocations: 12 kB / 0.8827 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.7933, allocations: 67.91 kB / 0.8828 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7934, allocations: 56.39 kB / 0.8829 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.7935, allocations: 43.89 kB / 0.8829 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002047/0.7956, allocations: 1.251 MB / 0.8841 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7956, allocations: 0 / 0.8841 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002074/0.7976, allocations: 0.6626 MB / 0.8848 GB, free: 6.039 MB / 0.6544 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.003974/0.8016, allocations: 2.38 MB / 0.8871 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.8034, allocations: 0.785 MB / 0.8879 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8034, allocations: 0.5 kB / 0.8879 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.8042, allocations: 342.5 kB / 0.8882 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/0.81, allocations: 1.21 MB / 0.8894 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.8319, allocations: 12.7 MB / 0.9018 GB, free: 4.113 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.8331, allocations: 1.413 MB / 0.9031 GB, free: 2.664 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001572/0.8347, allocations: 377.2 kB / 0.9035 GB, free: 2.297 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.8358, allocations: 0.7804 MB / 0.9043 GB, free: 1.516 MB / 0.67 GB Notification: Performance of SimCode: time 8.61e-07/0.8358, allocations: 0 / 0.9043 GB, free: 1.516 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.9661, allocations: 58.59 MB / 0.9615 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.02, allocations: 0 / 0.9615 GB, free: 7.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.97524711303413] Failed to read output from testmodel.py, exit status != 0: 16.163261868059635 16.185952407 15.449888854 Calling exit ...