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.001606/0.001606, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001758/0.001758, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.805 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.8601/0.8601, allocations: 134 MB / 446.4 MB, free: 9.934 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.002026/0.002026, allocations: 61.5 kB / 0.6185 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2009, allocations: 85.92 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5937/0.7946, allocations: 70.96 MB / 0.7717 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.029/0.8236, allocations: 17.53 MB / 0.7888 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005844/0.8295, allocations: 151.5 kB / 0.789 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.8337, allocations: 1.245 MB / 0.7902 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.8487, allocations: 3.852 MB / 0.7939 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007157/0.8558, allocations: 2.147 MB / 0.796 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.8688, allocations: 6.773 MB / 0.8026 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.8727, allocations: 1.587 MB / 0.8042 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/0.8802, allocations: 2.446 MB / 0.8066 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.8846, allocations: 1.778 MB / 0.8083 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004633/0.885, allocations: 197.4 kB / 0.8085 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005186/0.8902, allocations: 1.346 MB / 0.8098 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007764/0.891, allocations: 0.5695 MB / 0.8104 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.893, allocations: 1.008 MB / 0.8114 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007265/0.9002, allocations: 3.805 MB / 0.8151 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9002, allocations: 0 / 0.8151 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9002, allocations: 0 / 0.8151 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.995e-05/0.9003, allocations: 6.609 kB / 0.8151 GB, free: 14.75 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.005149/0.9054, allocations: 2.716 MB / 0.8177 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.9055, allocations: 7.156 kB / 0.8177 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.9058, allocations: 203.9 kB / 0.8179 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007849/0.9065, allocations: 280.9 kB / 0.8182 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.9102, allocations: 1.949 MB / 0.8201 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.9103, allocations: 106.5 kB / 0.8202 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.9105, allocations: 151 kB / 0.8204 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/0.9136, allocations: 1.818 MB / 0.8221 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.9136, allocations: 6.469 kB / 0.8221 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.9138, allocations: 57.31 kB / 0.8222 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.57e-05/0.9138, allocations: 52.27 kB / 0.8222 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.9162, allocations: 1.12 MB / 0.8233 GB, free: 8.867 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.008653/0.9249, allocations: 5.328 MB / 0.8285 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.9259, allocations: 448.9 kB / 0.829 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.9265, allocations: 306.1 kB / 0.8293 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/0.9269, allocations: 104.4 kB / 0.8294 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.927, allocations: 47.05 kB / 0.8294 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.246e-06/0.927, allocations: 0 / 0.8294 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.00242/0.9294, allocations: 0.9683 MB / 0.8303 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.9295, allocations: 63.89 kB / 0.8304 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.9319, allocations: 1.806 MB / 0.8322 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/0.932, allocations: 41.7 kB / 0.8322 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008785/0.9329, allocations: 0.9451 MB / 0.8331 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.9331, allocations: 234 kB / 0.8334 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.9334, allocations: 234.8 kB / 0.8336 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9336, allocations: 349.9 kB / 0.8339 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.9343, allocations: 330.4 kB / 0.8342 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.9356, allocations: 0.966 MB / 0.8352 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.9374, allocations: 1.017 MB / 0.8362 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.9374, allocations: 4 kB / 0.8362 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002665/0.9401, allocations: 1.222 MB / 0.8374 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.9401, allocations: 12 kB / 0.8374 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.9401, allocations: 11.98 kB / 0.8374 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.9401, allocations: 16.81 kB / 0.8374 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.9412, allocations: 287.6 kB / 0.8377 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.9412, allocations: 23.88 kB / 0.8377 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.9427, allocations: 170.9 kB / 0.8379 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.9428, allocations: 59.92 kB / 0.8379 GB, free: 9.305 MB / 0.6075 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.0009289/0.9437, allocations: 441.9 kB / 0.8383 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.9441, allocations: 198.7 kB / 0.8385 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.946, allocations: 0.8724 MB / 0.8394 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.946, allocations: 15.94 kB / 0.8394 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.946, allocations: 0 / 0.8394 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/0.9474, allocations: 0.8057 MB / 0.8402 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.9518, allocations: 2.227 MB / 0.8424 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9518, allocations: 0 / 0.8424 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.9526, allocations: 188 kB / 0.8425 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.9526, allocations: 4 kB / 0.8425 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.9526, allocations: 16 kB / 0.8426 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.9527, allocations: 4 kB / 0.8426 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9527, allocations: 4 kB / 0.8426 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.9552, allocations: 1.363 MB / 0.8439 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000843/0.956, allocations: 294.4 kB / 0.8442 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.9562, allocations: 19.98 kB / 0.8442 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/0.9572, allocations: 67.86 kB / 0.8443 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.9573, allocations: 60.28 kB / 0.8443 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.9574, allocations: 27.98 kB / 0.8443 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001997/0.9594, allocations: 1.251 MB / 0.8456 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.9594, allocations: 0 / 0.8456 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002112/0.9615, allocations: 0.6587 MB / 0.8462 GB, free: 0.6172 MB / 0.6075 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.00414/0.9656, allocations: 2.397 MB / 0.8485 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.9675, allocations: 0.7806 MB / 0.8493 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9675, allocations: 0 / 0.8493 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.9682, allocations: 344.1 kB / 0.8496 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/0.9735, allocations: 1.207 MB / 0.8508 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/0.994, allocations: 12.64 MB / 0.8632 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000944/0.9949, allocations: 0.8317 MB / 0.864 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001589/0.9965, allocations: 376.5 kB / 0.8643 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.9976, allocations: 0.7609 MB / 0.8651 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of SimCode: time 1.923e-06/0.9976, allocations: 0 / 0.8651 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.122, allocations: 63.03 MB / 0.9266 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.78, allocations: 10.34 kB / 0.9266 GB, free: 14.47 MB / 0.7012 GB " [Timeout remaining time 645] (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: 18.787110450677574] Failed to read output from testmodel.py, exit status != 0: 14.93860268080607 14.967645525 14.061493663 Calling exit ...