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.0009167/0.0009167, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009502/0.0009502, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9253/0.9253, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.7273/0.7273, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/2.014e-05, allocations: 7.781 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3912/0.3912, allocations: 70.51 MB / 0.6869 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.409, allocations: 17.62 MB / 0.7041 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.4118, allocations: 151.4 kB / 0.7043 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.414, allocations: 1.255 MB / 0.7055 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007717/0.4218, allocations: 3.985 MB / 0.7094 GB, free: 42.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.4255, allocations: 2.278 MB / 0.7116 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005905/0.4315, allocations: 6.858 MB / 0.7183 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.4331, allocations: 1.597 MB / 0.7199 GB, free: 37.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.4375, allocations: 3.571 MB / 0.7234 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.4396, allocations: 1.561 MB / 0.7249 GB, free: 35.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.4399, allocations: 199.7 kB / 0.7251 GB, free: 35.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.4426, allocations: 1.356 MB / 0.7264 GB, free: 35.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.443, allocations: 0.5859 MB / 0.727 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008353/0.4438, allocations: 0.8527 MB / 0.7278 GB, free: 34.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.4485, allocations: 3.801 MB / 0.7315 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4485, allocations: 0 / 0.7315 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4485, allocations: 4 kB / 0.7315 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.4485, allocations: 1.312 kB / 0.7315 GB, free: 33.42 MB / 0.6355 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.003368/0.4519, allocations: 2.692 MB / 0.7342 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.4519, allocations: 11.73 kB / 0.7342 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.4521, allocations: 206.6 kB / 0.7344 GB, free: 31.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.4526, allocations: 278.2 kB / 0.7346 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.455, allocations: 1.969 MB / 0.7366 GB, free: 30.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.455, allocations: 109.8 kB / 0.7367 GB, free: 30.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.4552, allocations: 151.5 kB / 0.7368 GB, free: 30.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.457, allocations: 1.819 MB / 0.7386 GB, free: 29.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.457, allocations: 5.312 kB / 0.7386 GB, free: 29.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.4571, allocations: 57.75 kB / 0.7386 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.4571, allocations: 38.39 kB / 0.7387 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.4587, allocations: 1.122 MB / 0.7398 GB, free: 28.93 MB / 0.6355 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.004803/0.4635, allocations: 5.33 MB / 0.745 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.4641, allocations: 455.1 kB / 0.7454 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.4645, allocations: 306.4 kB / 0.7457 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.4648, allocations: 102.3 kB / 0.7458 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4648, allocations: 44.19 kB / 0.7458 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 1.493e-06/0.4648, allocations: 0 / 0.7458 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.001426/0.4663, allocations: 0.9803 MB / 0.7468 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.4663, allocations: 56.56 kB / 0.7468 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.4681, allocations: 1.824 MB / 0.7486 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4682, allocations: 41.19 kB / 0.7487 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.4687, allocations: 0.9464 MB / 0.7496 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4689, allocations: 223.2 kB / 0.7498 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.4691, allocations: 223.3 kB / 0.75 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.4691, allocations: 348.2 kB / 0.7504 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.4696, allocations: 338.1 kB / 0.7507 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.4703, allocations: 0.965 MB / 0.7516 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.4713, allocations: 1.016 MB / 0.7526 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4713, allocations: 2.781 kB / 0.7526 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001454/0.4728, allocations: 1.234 MB / 0.7538 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4728, allocations: 8.281 kB / 0.7538 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4728, allocations: 11.83 kB / 0.7538 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4728, allocations: 15.03 kB / 0.7539 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.4734, allocations: 294 kB / 0.7541 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.4734, allocations: 21.56 kB / 0.7542 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.4742, allocations: 161.2 kB / 0.7543 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.4742, allocations: 50.56 kB / 0.7544 GB, free: 20.44 MB / 0.6355 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.0004345/0.4747, allocations: 444.4 kB / 0.7548 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.4749, allocations: 215 kB / 0.755 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.476, allocations: 0.8691 MB / 0.7558 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.476, allocations: 11.7 kB / 0.7558 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.476, allocations: 0.5625 kB / 0.7558 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008629/0.4769, allocations: 0.8058 MB / 0.7566 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.4794, allocations: 2.235 MB / 0.7588 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4794, allocations: 1.688 kB / 0.7588 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.4798, allocations: 182.7 kB / 0.759 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4799, allocations: 4.094 kB / 0.759 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.4799, allocations: 26.06 kB / 0.759 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.4799, allocations: 10.89 kB / 0.759 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4799, allocations: 2.469 kB / 0.759 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.4813, allocations: 1.352 MB / 0.7604 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.4817, allocations: 301 kB / 0.7606 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.4818, allocations: 19.42 kB / 0.7607 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.4823, allocations: 71.03 kB / 0.7607 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.4824, allocations: 52.97 kB / 0.7608 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.4825, allocations: 43.98 kB / 0.7608 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001154/0.4836, allocations: 1.248 MB / 0.762 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4836, allocations: 0.9688 kB / 0.762 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001401/0.485, allocations: 0.6633 MB / 0.7627 GB, free: 16.66 MB / 0.6355 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.002288/0.4873, allocations: 2.401 MB / 0.765 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009205/0.4882, allocations: 0.7922 MB / 0.7658 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4882, allocations: 0 / 0.7658 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.4886, allocations: 339.4 kB / 0.7661 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.4913, allocations: 1.196 MB / 0.7673 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.5062, allocations: 12.64 MB / 0.7796 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.5068, allocations: 0.8319 MB / 0.7804 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001279/0.5081, allocations: 389 kB / 0.7808 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.5087, allocations: 0.7701 MB / 0.7816 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.903e-06/0.5087, allocations: 4 kB / 0.7816 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07445/0.5831, allocations: 63.1 MB / 0.8432 GB, free: 11.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.063/9.646, allocations: 6.906 kB / 0.8432 GB, free: 11.78 MB / 0.698 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.548974899575114] Failed to read output from testmodel.py, exit status != 0: 9.75387839321047 9.762529129 9.312163334 Calling exit ...