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.001382/0.001382, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001605/0.001605, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.965 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.8181/0.8181, allocations: 134 MB / 446.4 MB, free: 10.19 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.00198/0.00198, allocations: 70.25 kB / 0.6186 GB, free: 7.285 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1699, allocations: 85.9 MB / 0.7024 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4201/0.59, allocations: 78.76 MB / 0.7794 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02627/0.6163, allocations: 18.93 MB / 0.7979 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004562/0.6208, allocations: 147.9 kB / 0.798 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.6249, allocations: 1.3 MB / 0.7993 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.6368, allocations: 3.894 MB / 0.8031 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006243/0.643, allocations: 2.193 MB / 0.8052 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.6551, allocations: 6.826 MB / 0.8119 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.6583, allocations: 1.612 MB / 0.8134 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006916/0.6652, allocations: 2.415 MB / 0.8158 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.6692, allocations: 1.872 MB / 0.8176 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000692/0.6699, allocations: 199 kB / 0.8178 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.6753, allocations: 1.767 MB / 0.8196 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009506/0.6763, allocations: 0.5612 MB / 0.8201 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.6783, allocations: 1.259 MB / 0.8213 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.685, allocations: 3.868 MB / 0.8251 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.685, allocations: 4 kB / 0.8251 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.685, allocations: 2.5 kB / 0.8251 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.522e-05/0.6851, allocations: 0 / 0.8251 GB, free: 8.656 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.004771/0.6899, allocations: 2.714 MB / 0.8278 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6899, allocations: 14.12 kB / 0.8278 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/0.6901, allocations: 199.8 kB / 0.828 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007388/0.6909, allocations: 284.3 kB / 0.8282 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.6945, allocations: 1.941 MB / 0.8301 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.6946, allocations: 110.7 kB / 0.8302 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.6948, allocations: 148 kB / 0.8304 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.6975, allocations: 1.526 MB / 0.8319 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.6975, allocations: 4 kB / 0.8319 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.6976, allocations: 52 kB / 0.8319 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.6977, allocations: 44 kB / 0.832 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.6999, allocations: 1.126 MB / 0.8331 GB, free: 1.18 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.009488/0.7094, allocations: 7.531 MB / 0.8404 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.7104, allocations: 440.3 kB / 0.8408 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.711, allocations: 311.2 kB / 0.8411 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.7114, allocations: 108.4 kB / 0.8412 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.7114, allocations: 51.09 kB / 0.8413 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.414e-06/0.7114, allocations: 0 / 0.8413 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.002274/0.7137, allocations: 0.9643 MB / 0.8422 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.7138, allocations: 67.91 kB / 0.8423 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.7163, allocations: 1.791 MB / 0.844 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.7164, allocations: 37.7 kB / 0.8441 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/0.7173, allocations: 0.9567 MB / 0.845 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.7175, allocations: 226.1 kB / 0.8452 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.7178, allocations: 230.7 kB / 0.8454 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.718, allocations: 353.9 kB / 0.8458 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.7187, allocations: 334.4 kB / 0.8461 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.7197, allocations: 0.686 MB / 0.8468 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.7214, allocations: 1.017 MB / 0.8478 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.7214, allocations: 4 kB / 0.8478 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002557/0.7239, allocations: 1.219 MB / 0.849 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.724, allocations: 8 kB / 0.849 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.724, allocations: 12 kB / 0.849 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.724, allocations: 24.02 kB / 0.849 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/0.725, allocations: 291.5 kB / 0.8493 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/0.725, allocations: 23.92 kB / 0.8493 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.7263, allocations: 170.9 kB / 0.8495 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/0.7264, allocations: 51.94 kB / 0.8495 GB, free: 15.35 MB / 0.6231 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.000797/0.7272, allocations: 435.6 kB / 0.8499 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/0.7277, allocations: 202.7 kB / 0.8501 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.7295, allocations: 0.8759 MB / 0.851 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.7295, allocations: 15.92 kB / 0.851 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7295, allocations: 0 / 0.851 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/0.7309, allocations: 0.7979 MB / 0.8518 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004447/0.7353, allocations: 2.441 MB / 0.8542 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7353, allocations: 0 / 0.8542 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.7361, allocations: 179.8 kB / 0.8543 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.7361, allocations: 8.25 kB / 0.8543 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.7361, allocations: 16 kB / 0.8544 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.7361, allocations: 7.938 kB / 0.8544 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7361, allocations: 4 kB / 0.8544 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.7388, allocations: 1.363 MB / 0.8557 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00085/0.7396, allocations: 294.5 kB / 0.856 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.7399, allocations: 12 kB / 0.856 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009153/0.7408, allocations: 71.84 kB / 0.8561 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7409, allocations: 48.36 kB / 0.8561 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/0.741, allocations: 39.97 kB / 0.8561 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001865/0.7428, allocations: 1.247 MB / 0.8574 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7428, allocations: 3.938 kB / 0.8574 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001942/0.7448, allocations: 0.6548 MB / 0.858 GB, free: 6.461 MB / 0.6231 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.003781/0.7486, allocations: 2.391 MB / 0.8603 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.7503, allocations: 0.785 MB / 0.8611 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7503, allocations: 0.5 kB / 0.8611 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.751, allocations: 342.5 kB / 0.8614 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/0.7563, allocations: 1.201 MB / 0.8626 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.7766, allocations: 12.66 MB / 0.875 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.7777, allocations: 1.413 MB / 0.8763 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001455/0.7792, allocations: 376.2 kB / 0.8767 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.7802, allocations: 0.7687 MB / 0.8775 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.7802, allocations: 3.938 kB / 0.8775 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/0.8959, allocations: 58.51 MB / 0.9346 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.94, allocations: 9.906 kB / 0.9346 GB, free: 7.922 MB / 0.7012 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 19.47559656109661] Failed to read output from testmodel.py, exit status != 0: 16.074381028069183 16.091336371 15.402668606 Calling exit ...