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.001345/0.001345, 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.001593/0.001593, allocations: 211.5 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.461/1.461, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9388/0.9388, allocations: 150 MB / 464 MB, free: 10.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.001926/0.001926, allocations: 65.2 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 89.16 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4371/0.6126, allocations: 78.88 MB / 0.8061 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03278/0.6454, allocations: 18.99 MB / 0.8247 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005519/0.6509, allocations: 153.7 kB / 0.8248 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004518/0.6554, allocations: 1.312 MB / 0.8261 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.6672, allocations: 3.896 MB / 0.8299 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006256/0.6734, allocations: 2.197 MB / 0.8321 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.6848, allocations: 6.864 MB / 0.8388 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.6882, allocations: 1.601 MB / 0.8403 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008449/0.6967, allocations: 2.732 MB / 0.843 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.7017, allocations: 1.838 MB / 0.8448 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/0.7024, allocations: 200.2 kB / 0.845 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/0.7082, allocations: 1.755 MB / 0.8467 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000973/0.7091, allocations: 0.5712 MB / 0.8473 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.7118, allocations: 1.255 MB / 0.8485 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007326/0.7191, allocations: 3.866 MB / 0.8523 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7191, allocations: 0 / 0.8523 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7191, allocations: 0 / 0.8523 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.783e-05/0.7192, allocations: 4 kB / 0.8523 GB, free: 9.398 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.005994/0.7252, allocations: 2.718 MB / 0.8549 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7252, allocations: 12.03 kB / 0.8549 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.695e-05/0.7253, allocations: 38.83 kB / 0.855 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.7256, allocations: 203.2 kB / 0.8552 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.7265, allocations: 282.3 kB / 0.8554 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/0.7306, allocations: 1.971 MB / 0.8574 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.549e-05/0.7307, allocations: 110.7 kB / 0.8575 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.7309, allocations: 144 kB / 0.8576 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.7338, allocations: 1.512 MB / 0.8591 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.7339, allocations: 3.938 kB / 0.8591 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.734, allocations: 64 kB / 0.8591 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.7341, allocations: 43.92 kB / 0.8592 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.7366, allocations: 1.122 MB / 0.8603 GB, free: 1.367 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.01159/0.7482, allocations: 7.84 MB / 0.8679 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7492, allocations: 444.3 kB / 0.8684 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.7499, allocations: 314.1 kB / 0.8687 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.7503, allocations: 108.4 kB / 0.8688 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.7504, allocations: 39.94 kB / 0.8688 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 3.467e-06/0.7504, allocations: 4 kB / 0.8688 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002591/0.753, allocations: 0.976 MB / 0.8698 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.753, allocations: 59.91 kB / 0.8698 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.7557, allocations: 1.803 MB / 0.8716 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.7559, allocations: 45.7 kB / 0.8716 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008648/0.7567, allocations: 0.9413 MB / 0.8725 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.757, allocations: 234.1 kB / 0.8728 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.7574, allocations: 230.8 kB / 0.873 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.7576, allocations: 349.9 kB / 0.8733 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.7583, allocations: 330.4 kB / 0.8736 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.7595, allocations: 0.6899 MB / 0.8743 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.7612, allocations: 1.013 MB / 0.8753 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.7613, allocations: 4 kB / 0.8753 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002697/0.764, allocations: 1.231 MB / 0.8765 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.764, allocations: 12 kB / 0.8765 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.764, allocations: 8 kB / 0.8765 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.764, allocations: 20 kB / 0.8765 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.7651, allocations: 287.6 kB / 0.8768 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/0.7651, allocations: 23.86 kB / 0.8768 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.7666, allocations: 174.8 kB / 0.877 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.7666, allocations: 48 kB / 0.8771 GB, free: 15.14 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.0008167/0.7675, allocations: 441.4 kB / 0.8775 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.7679, allocations: 202.7 kB / 0.8777 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.7697, allocations: 0.8763 MB / 0.8785 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.7697, allocations: 7.938 kB / 0.8785 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7697, allocations: 7.922 kB / 0.8785 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.7711, allocations: 0.8095 MB / 0.8793 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004539/0.7757, allocations: 2.43 MB / 0.8817 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.7757, allocations: 4 kB / 0.8817 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.7765, allocations: 184 kB / 0.8819 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.7765, allocations: 4 kB / 0.8819 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.7765, allocations: 16 kB / 0.8819 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.7765, allocations: 4 kB / 0.8819 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.7765, allocations: 4 kB / 0.8819 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.7792, allocations: 1.363 MB / 0.8832 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/0.7801, allocations: 306.4 kB / 0.8835 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.7803, allocations: 12 kB / 0.8835 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/0.7813, allocations: 73.16 kB / 0.8836 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7814, allocations: 52.3 kB / 0.8837 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.7815, allocations: 35.97 kB / 0.8837 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001899/0.7834, allocations: 1.251 MB / 0.8849 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7834, allocations: 4 kB / 0.8849 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002052/0.7854, allocations: 0.6626 MB / 0.8856 GB, free: 6.215 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.003934/0.7894, allocations: 2.392 MB / 0.8879 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.7911, allocations: 0.7776 MB / 0.8887 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.7911, allocations: 8.062 kB / 0.8887 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.7918, allocations: 334.5 kB / 0.889 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005559/0.7974, allocations: 1.207 MB / 0.8902 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.8178, allocations: 12.7 MB / 0.9026 GB, free: 4.289 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.8189, allocations: 1.413 MB / 0.9039 GB, free: 2.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001457/0.8204, allocations: 376.8 kB / 0.9043 GB, free: 2.473 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.8214, allocations: 0.7687 MB / 0.9051 GB, free: 1.703 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/0.8214, allocations: 3.938 kB / 0.9051 GB, free: 1.699 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/0.9306, allocations: 58.64 MB / 0.9623 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.84, allocations: 6.562 kB / 0.9623 GB, free: 7.582 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.79047128302045] Failed to read output from testmodel.py, exit status != 0: 16.039394068997353 16.064567763 15.340300113 Calling exit ...