Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007828/0.0007828, allocations: 113.9 kB / 18.94 MB, free: 1.27 MB / 13.93 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.0008596/0.0008596, allocations: 217.2 kB / 22.26 MB, free: 3.695 MB / 13.93 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 0.9699/0.9699, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7902/0.7902, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.001249/0.001249, allocations: 68.61 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5058, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05521/0.5611, allocations: 78.91 MB / 0.8949 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.5834, allocations: 19.01 MB / 0.9135 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004252/0.5876, allocations: 154.7 kB / 0.9136 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.5902, allocations: 1.308 MB / 0.9149 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008138/0.5984, allocations: 3.902 MB / 0.9187 GB, free: 14.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.6023, allocations: 2.245 MB / 0.9209 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006444/0.6087, allocations: 6.879 MB / 0.9276 GB, free: 5.309 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.6103, allocations: 1.599 MB / 0.9292 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003833/0.6141, allocations: 2.74 MB / 0.9319 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.6155, allocations: 1.84 MB / 0.9337 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.6157, allocations: 200 kB / 0.9339 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.6185, allocations: 1.755 MB / 0.9356 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.6188, allocations: 0.5719 MB / 0.9361 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009189/0.6197, allocations: 1.256 MB / 0.9374 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.623, allocations: 3.864 MB / 0.9411 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.623, allocations: 0 / 0.9411 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.623, allocations: 0 / 0.9411 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.623, allocations: 0 / 0.9411 GB, free: 7.41 MB / 0.7136 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.002515/0.6255, allocations: 2.726 MB / 0.9438 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6255, allocations: 12.03 kB / 0.9438 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.6257, allocations: 202.8 kB / 0.944 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.6261, allocations: 287.3 kB / 0.9443 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.6282, allocations: 1.976 MB / 0.9462 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.6282, allocations: 102.7 kB / 0.9463 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.6283, allocations: 144 kB / 0.9464 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.63, allocations: 1.528 MB / 0.9479 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.63, allocations: 3.953 kB / 0.9479 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/0.6301, allocations: 60 kB / 0.948 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.6301, allocations: 39.94 kB / 0.948 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.6314, allocations: 1.123 MB / 0.9491 GB, free: 15.04 MB / 0.7292 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.005138/0.6366, allocations: 7.842 MB / 0.9568 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.6373, allocations: 460.3 kB / 0.9572 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.6377, allocations: 302.7 kB / 0.9575 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.6379, allocations: 104.4 kB / 0.9576 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.638, allocations: 43.06 kB / 0.9577 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 1.944e-06/0.638, allocations: 4 kB / 0.9577 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.001209/0.6392, allocations: 0.9643 MB / 0.9586 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.6392, allocations: 63.84 kB / 0.9587 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.6406, allocations: 1.799 MB / 0.9604 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.6407, allocations: 45.7 kB / 0.9605 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.6412, allocations: 0.9568 MB / 0.9614 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.6413, allocations: 230 kB / 0.9616 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.6415, allocations: 226.8 kB / 0.9618 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6416, allocations: 345.9 kB / 0.9622 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.642, allocations: 334.4 kB / 0.9625 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.6426, allocations: 0.686 MB / 0.9632 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6438, allocations: 1.017 MB / 0.9641 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.6438, allocations: 4 kB / 0.9641 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001316/0.6451, allocations: 1.226 MB / 0.9653 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6451, allocations: 8 kB / 0.9654 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6451, allocations: 12 kB / 0.9654 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.6451, allocations: 12.75 kB / 0.9654 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.6457, allocations: 295.6 kB / 0.9657 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.6457, allocations: 23.92 kB / 0.9657 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.6463, allocations: 162.9 kB / 0.9658 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.6463, allocations: 56 kB / 0.9659 GB, free: 12.83 MB / 0.7448 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.0004027/0.6467, allocations: 445.3 kB / 0.9663 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.6469, allocations: 202.7 kB / 0.9665 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6479, allocations: 0.8777 MB / 0.9674 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.648, allocations: 4 kB / 0.9674 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.648, allocations: 7.938 kB / 0.9674 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007601/0.6487, allocations: 0.8095 MB / 0.9682 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.6511, allocations: 2.43 MB / 0.9705 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6511, allocations: 8.062 kB / 0.9705 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.6515, allocations: 175.7 kB / 0.9707 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6515, allocations: 4 kB / 0.9707 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.6515, allocations: 23.98 kB / 0.9707 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.6515, allocations: 7.984 kB / 0.9707 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6515, allocations: 8 kB / 0.9708 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.6531, allocations: 1.359 MB / 0.9721 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.6534, allocations: 306.4 kB / 0.9724 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6535, allocations: 12 kB / 0.9724 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.654, allocations: 63.88 kB / 0.9724 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.6541, allocations: 56.34 kB / 0.9725 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.6541, allocations: 39.97 kB / 0.9725 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00106/0.6552, allocations: 1.251 MB / 0.9738 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6552, allocations: 0 / 0.9738 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001114/0.6563, allocations: 0.6587 MB / 0.9744 GB, free: 3.902 MB / 0.7448 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.002258/0.6586, allocations: 2.405 MB / 0.9768 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009423/0.6595, allocations: 0.7805 MB / 0.9775 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6595, allocations: 4 kB / 0.9775 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.6599, allocations: 340.1 kB / 0.9778 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.6626, allocations: 1.19 MB / 0.979 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.6743, allocations: 12.69 MB / 0.9914 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000803/0.6751, allocations: 1.405 MB / 0.9928 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001053/0.6762, allocations: 386.9 kB / 0.9931 GB, free: 172 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/0.6769, allocations: 0.7648 MB / 0.9939 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.6769, allocations: 4 kB / 0.9939 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06911/0.746, allocations: 58.61 MB / 1.051 GB, free: 5.219 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.596/10.34, allocations: 12.72 kB / 1.051 GB, free: 5.211 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.425610088044778] Failed to read output from testmodel.py, exit status != 0: 10.447502342052758 10.455984756 9.831073481 Calling exit ...