Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001387/0.001387, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001823/0.001823, allocations: 220.4 kB / 22.26 MB, free: 5.211 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8634/0.8634, allocations: 134 MB / 446.4 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002045/0.002045, allocations: 66.64 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1727, allocations: 85.92 MB / 0.7025 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4507/0.6234, allocations: 78.74 MB / 0.7794 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.6491, allocations: 18.94 MB / 0.7979 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004747/0.6538, allocations: 151.7 kB / 0.798 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003861/0.6577, allocations: 1.303 MB / 0.7993 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.6686, allocations: 3.894 MB / 0.8031 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006201/0.6748, allocations: 2.186 MB / 0.8052 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.6866, allocations: 6.832 MB / 0.8119 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.6901, allocations: 1.607 MB / 0.8134 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00661/0.6967, allocations: 2.425 MB / 0.8158 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.7008, allocations: 1.863 MB / 0.8176 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006823/0.7015, allocations: 198.8 kB / 0.8178 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005253/0.7067, allocations: 1.772 MB / 0.8196 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.7079, allocations: 0.5689 MB / 0.8201 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/0.7107, allocations: 1.257 MB / 0.8213 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008328/0.7191, allocations: 3.863 MB / 0.8251 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7191, allocations: 3.938 kB / 0.8251 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7191, allocations: 0 / 0.8251 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.876e-05/0.7192, allocations: 4 kB / 0.8251 GB, free: 8.637 MB / 0.5919 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.005505/0.7247, allocations: 2.715 MB / 0.8278 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7247, allocations: 10.44 kB / 0.8278 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.725, allocations: 202.6 kB / 0.828 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.7258, allocations: 278.9 kB / 0.8282 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.7295, allocations: 1.949 MB / 0.8301 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.7296, allocations: 102.7 kB / 0.8302 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.7298, allocations: 151.9 kB / 0.8304 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.7325, allocations: 1.524 MB / 0.8319 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.7325, allocations: 0 / 0.8319 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.7327, allocations: 63.98 kB / 0.8319 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.7327, allocations: 36 kB / 0.832 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.735, allocations: 1.13 MB / 0.8331 GB, free: 1.129 MB / 0.5919 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.00979/0.7447, allocations: 7.522 MB / 0.8404 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009882/0.7457, allocations: 440.3 kB / 0.8408 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.7464, allocations: 308.7 kB / 0.8411 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.7468, allocations: 120.4 kB / 0.8412 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.7469, allocations: 47.09 kB / 0.8413 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.344e-06/0.7469, allocations: 0 / 0.8413 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002343/0.7492, allocations: 0.9643 MB / 0.8422 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.7493, allocations: 59.91 kB / 0.8423 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.7518, allocations: 1.791 MB / 0.844 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.7519, allocations: 45.7 kB / 0.8441 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.7528, allocations: 0.9489 MB / 0.845 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.7531, allocations: 230.1 kB / 0.8452 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.7534, allocations: 226.8 kB / 0.8454 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7535, allocations: 349.9 kB / 0.8458 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.7543, allocations: 334.4 kB / 0.8461 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.7554, allocations: 0.6899 MB / 0.8468 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.7571, allocations: 1.017 MB / 0.8478 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.7571, allocations: 8 kB / 0.8478 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002686/0.7598, allocations: 1.218 MB / 0.849 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.7598, allocations: 12 kB / 0.849 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.7598, allocations: 8.875 kB / 0.849 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/0.7599, allocations: 19.94 kB / 0.849 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7609, allocations: 299.5 kB / 0.8493 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.731e-05/0.7609, allocations: 19.94 kB / 0.8493 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.7622, allocations: 170.9 kB / 0.8495 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7623, allocations: 59.92 kB / 0.8495 GB, free: 15.3 MB / 0.6231 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.0007952/0.7631, allocations: 432.7 kB / 0.8499 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.7636, allocations: 198.7 kB / 0.8501 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.7655, allocations: 0.8813 MB / 0.851 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.7655, allocations: 8 kB / 0.851 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7655, allocations: 0 / 0.851 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001414/0.7669, allocations: 0.8057 MB / 0.8518 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/0.7718, allocations: 2.437 MB / 0.8542 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.7718, allocations: 4 kB / 0.8542 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.7726, allocations: 171.8 kB / 0.8543 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.7726, allocations: 4 kB / 0.8543 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.7726, allocations: 16 kB / 0.8543 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.7726, allocations: 12.08 kB / 0.8544 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7726, allocations: 7.938 kB / 0.8544 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.7754, allocations: 1.359 MB / 0.8557 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/0.7764, allocations: 298.5 kB / 0.856 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.7767, allocations: 12.09 kB / 0.856 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.7777, allocations: 71.86 kB / 0.8561 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7778, allocations: 56.33 kB / 0.8561 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.7779, allocations: 35.97 kB / 0.8561 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002059/0.78, allocations: 1.243 MB / 0.8574 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.78, allocations: 0 / 0.8574 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002254/0.7822, allocations: 0.6665 MB / 0.858 GB, free: 6.41 MB / 0.6231 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.004065/0.7863, allocations: 2.384 MB / 0.8603 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.7882, allocations: 0.7765 MB / 0.8611 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.7882, allocations: 1.188 kB / 0.8611 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000773/0.789, allocations: 343 kB / 0.8614 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/0.7947, allocations: 1.203 MB / 0.8626 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/0.8182, allocations: 12.66 MB / 0.875 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.8195, allocations: 1.405 MB / 0.8763 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00178/0.8213, allocations: 380 kB / 0.8767 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.8225, allocations: 0.7609 MB / 0.8774 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of SimCode: time 1.262e-06/0.8225, allocations: 4 kB / 0.8774 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/0.9498, allocations: 58.52 MB / 0.9346 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.77, allocations: 8 kB / 0.9346 GB, free: 7.879 MB / 0.7012 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.58765562500048] Failed to read output from testmodel.py, exit status != 0: 16.914036148999003 16.940439926 16.216149718 Calling exit ...