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.0007522/0.0007522, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007374/0.0007374, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9076/0.9076, allocations: 230.6 MB / 256 MB, free: 9.422 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.738/0.738, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001394/0.001394, allocations: 68.88 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4813, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05278/0.5341, allocations: 71.12 MB / 0.8873 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.5547, allocations: 17.6 MB / 0.9045 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.5585, allocations: 154.6 kB / 0.9046 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.5618, allocations: 1.238 MB / 0.9058 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009043/0.5708, allocations: 3.884 MB / 0.9096 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.5757, allocations: 2.184 MB / 0.9117 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008683/0.5844, allocations: 6.822 MB / 0.9184 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.5868, allocations: 1.584 MB / 0.9199 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005974/0.5928, allocations: 2.757 MB / 0.9226 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.5957, allocations: 1.757 MB / 0.9243 GB, free: 8.211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005198/0.5962, allocations: 200 kB / 0.9245 GB, free: 8.016 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.5999, allocations: 1.337 MB / 0.9258 GB, free: 6.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005541/0.6005, allocations: 0.5602 MB / 0.9264 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.6026, allocations: 1.023 MB / 0.9274 GB, free: 5.086 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.6083, allocations: 3.798 MB / 0.9311 GB, free: 1.277 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.6083, allocations: 0 / 0.9311 GB, free: 1.277 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6083, allocations: 0 / 0.9311 GB, free: 1.277 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.894e-05/0.6084, allocations: 0 / 0.9311 GB, free: 1.277 MB / 0.698 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.003797/0.6122, allocations: 2.722 MB / 0.9338 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6122, allocations: 12.03 kB / 0.9338 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.6124, allocations: 198.8 kB / 0.934 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/0.613, allocations: 283.3 kB / 0.9342 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.6154, allocations: 1.972 MB / 0.9362 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.6155, allocations: 110.6 kB / 0.9363 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.6157, allocations: 148 kB / 0.9364 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.6178, allocations: 1.818 MB / 0.9382 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.6178, allocations: 11.89 kB / 0.9382 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.6179, allocations: 59.94 kB / 0.9382 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.618, allocations: 40 kB / 0.9383 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6194, allocations: 1.122 MB / 0.9394 GB, free: 8.535 MB / 0.7136 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.006173/0.6256, allocations: 5.332 MB / 0.9446 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.6263, allocations: 448.9 kB / 0.945 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.6266, allocations: 310.2 kB / 0.9453 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.6269, allocations: 104.4 kB / 0.9454 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6269, allocations: 47.06 kB / 0.9455 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.266e-06/0.6269, allocations: 0 / 0.9455 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.001457/0.6284, allocations: 0.9682 MB / 0.9464 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6284, allocations: 59.91 kB / 0.9465 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.63, allocations: 1.819 MB / 0.9482 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.6301, allocations: 45.7 kB / 0.9483 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008002/0.6309, allocations: 0.9529 MB / 0.9492 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.631, allocations: 226.1 kB / 0.9494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.6312, allocations: 230.8 kB / 0.9496 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.6313, allocations: 345.9 kB / 0.95 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.6317, allocations: 334.4 kB / 0.9503 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.6324, allocations: 0.966 MB / 0.9512 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/0.6333, allocations: 1.017 MB / 0.9522 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6333, allocations: 4 kB / 0.9522 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001532/0.6349, allocations: 1.23 MB / 0.9534 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6349, allocations: 12 kB / 0.9534 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6349, allocations: 8.875 kB / 0.9535 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.6349, allocations: 16 kB / 0.9535 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.6355, allocations: 295.5 kB / 0.9538 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.6355, allocations: 19.94 kB / 0.9538 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.6363, allocations: 170.9 kB / 0.9539 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.6363, allocations: 55.98 kB / 0.954 GB, free: 8.957 MB / 0.7292 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.0005881/0.6369, allocations: 441.3 kB / 0.9544 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.6371, allocations: 198.7 kB / 0.9546 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.6384, allocations: 0.8821 MB / 0.9555 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6384, allocations: 8 kB / 0.9555 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6385, allocations: 0 / 0.9555 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007475/0.6392, allocations: 0.8018 MB / 0.9562 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.642, allocations: 2.235 MB / 0.9584 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6421, allocations: 4 kB / 0.9584 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.6425, allocations: 180 kB / 0.9586 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.6425, allocations: 4 kB / 0.9586 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.6425, allocations: 23.94 kB / 0.9586 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.6425, allocations: 7.984 kB / 0.9586 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6425, allocations: 4 kB / 0.9586 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.644, allocations: 1.359 MB / 0.96 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/0.6446, allocations: 306.4 kB / 0.9603 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.6448, allocations: 12 kB / 0.9603 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.6453, allocations: 67.88 kB / 0.9603 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.6454, allocations: 52.34 kB / 0.9604 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.6454, allocations: 39.97 kB / 0.9604 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001228/0.6466, allocations: 1.251 MB / 0.9617 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.6466, allocations: 0 / 0.9617 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001659/0.6483, allocations: 0.6626 MB / 0.9623 GB, free: 244 kB / 0.7292 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.002446/0.6507, allocations: 2.401 MB / 0.9646 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.6519, allocations: 0.7804 MB / 0.9654 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6519, allocations: 1.25 kB / 0.9654 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.6523, allocations: 339.1 kB / 0.9657 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/0.6555, allocations: 1.194 MB / 0.9669 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.6699, allocations: 12.7 MB / 0.9793 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.6705, allocations: 0.832 MB / 0.9801 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001185/0.6717, allocations: 379 kB / 0.9805 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.6724, allocations: 0.7648 MB / 0.9812 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of SimCode: time 2.013e-06/0.6724, allocations: 0 / 0.9812 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08114/0.7535, allocations: 63.12 MB / 1.043 GB, free: 13.91 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.374, allocations: 11.88 kB / 1.043 GB, free: 13.9 MB / 0.823 GB " [Timeout remaining time 651] (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: 12.280014569871128] Failed to read output from testmodel.py, exit status != 0: 9.478218550793827 9.48824362 8.877388279 Calling exit ...