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.0009481/0.0009481, allocations: 109.9 kB / 18.93 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.00154/0.00154, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9696/0.9696, allocations: 230.6 MB / 256 MB, free: 9.824 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.7957/0.7957, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009535/0.0009535, allocations: 70.42 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4895, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05685/0.5463, allocations: 78.89 MB / 0.8949 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.5669, allocations: 19.01 MB / 0.9135 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.57, allocations: 158.6 kB / 0.9136 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.5724, allocations: 1.297 MB / 0.9149 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.5791, allocations: 3.906 MB / 0.9187 GB, free: 14.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.5822, allocations: 2.238 MB / 0.9209 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005343/0.5876, allocations: 6.878 MB / 0.9276 GB, free: 5.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.589, allocations: 1.607 MB / 0.9292 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.5926, allocations: 2.74 MB / 0.9319 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5941, allocations: 1.841 MB / 0.9337 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.5944, allocations: 200 kB / 0.9339 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.5972, allocations: 1.77 MB / 0.9356 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.5976, allocations: 0.564 MB / 0.9361 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.5988, allocations: 1.256 MB / 0.9374 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.6025, allocations: 3.86 MB / 0.9411 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6025, allocations: 0 / 0.9411 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6025, allocations: 0 / 0.9411 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.6025, allocations: 0 / 0.9411 GB, free: 7.43 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.002712/0.6052, allocations: 2.726 MB / 0.9438 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6053, allocations: 11.97 kB / 0.9438 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.6054, allocations: 206.8 kB / 0.944 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.6058, allocations: 283.3 kB / 0.9443 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6081, allocations: 1.974 MB / 0.9462 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.6081, allocations: 106.7 kB / 0.9463 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6082, allocations: 140 kB / 0.9464 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.61, allocations: 1.516 MB / 0.9479 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.61, allocations: 11.89 kB / 0.9479 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.6101, allocations: 59.98 kB / 0.948 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.6101, allocations: 39.98 kB / 0.948 GB, free: 196 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.6115, allocations: 1.126 MB / 0.9491 GB, free: 15.06 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.005478/0.617, allocations: 7.838 MB / 0.9568 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.6176, allocations: 452.3 kB / 0.9572 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.618, allocations: 306.7 kB / 0.9575 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.6182, allocations: 108.4 kB / 0.9576 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.6182, allocations: 47.05 kB / 0.9577 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 1.804e-06/0.6182, allocations: 0 / 0.9577 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.001543/0.6198, allocations: 0.9721 MB / 0.9586 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6198, allocations: 63.89 kB / 0.9587 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.6213, allocations: 1.799 MB / 0.9604 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.6213, allocations: 41.7 kB / 0.9605 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.6218, allocations: 0.9491 MB / 0.9614 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.622, allocations: 238 kB / 0.9616 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.6221, allocations: 226.8 kB / 0.9618 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.6222, allocations: 353.9 kB / 0.9622 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.6226, allocations: 326.4 kB / 0.9625 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.6232, allocations: 0.686 MB / 0.9632 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6242, allocations: 1.017 MB / 0.9641 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6242, allocations: 3.984 kB / 0.9642 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00157/0.6258, allocations: 1.23 MB / 0.9654 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6258, allocations: 8 kB / 0.9654 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6258, allocations: 12 kB / 0.9654 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.6258, allocations: 16 kB / 0.9654 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.6264, allocations: 291.9 kB / 0.9657 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.6264, allocations: 23.92 kB / 0.9657 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.627, allocations: 166.9 kB / 0.9658 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.627, allocations: 51.98 kB / 0.9659 GB, free: 12.84 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.0004118/0.6274, allocations: 445.3 kB / 0.9663 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6276, allocations: 202.7 kB / 0.9665 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.6286, allocations: 0.8776 MB / 0.9674 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6286, allocations: 11.94 kB / 0.9674 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6286, allocations: 0 / 0.9674 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007643/0.6294, allocations: 0.8056 MB / 0.9682 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.6317, allocations: 2.43 MB / 0.9705 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6317, allocations: 4 kB / 0.9705 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.6321, allocations: 184 kB / 0.9707 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.6321, allocations: 4 kB / 0.9707 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.6322, allocations: 19.98 kB / 0.9707 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6322, allocations: 4 kB / 0.9708 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6322, allocations: 3.938 kB / 0.9708 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.6338, allocations: 1.363 MB / 0.9721 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.6342, allocations: 298.4 kB / 0.9724 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.6343, allocations: 16 kB / 0.9724 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.6348, allocations: 71.8 kB / 0.9725 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.6349, allocations: 56.36 kB / 0.9725 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.6349, allocations: 31.97 kB / 0.9725 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001081/0.636, allocations: 1.255 MB / 0.9738 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.636, allocations: 0 / 0.9738 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001139/0.6371, allocations: 0.6665 MB / 0.9744 GB, free: 3.918 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.002212/0.6393, allocations: 2.398 MB / 0.9768 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009219/0.6403, allocations: 0.7806 MB / 0.9775 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6403, allocations: 0 / 0.9775 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.6407, allocations: 340 kB / 0.9778 GB, free: 368 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.6435, allocations: 1.204 MB / 0.979 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.6552, allocations: 12.7 MB / 0.9914 GB, free: 2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.6561, allocations: 1.409 MB / 0.9928 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008696/0.657, allocations: 375.4 kB / 0.9931 GB, free: 192 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/0.6576, allocations: 0.7727 MB / 0.9939 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.6576, allocations: 3.938 kB / 0.9939 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06622/0.7239, allocations: 58.59 MB / 1.051 GB, free: 5.242 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.193/9.917, allocations: 13.02 kB / 1.051 GB, free: 5.234 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.945607573026791] Failed to read output from testmodel.py, exit status != 0: 10.024472113931552 10.032585087 9.428107786 Calling exit ...