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.001381/0.001381, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001483/0.001483, allocations: 201.5 kB / 20.13 MB, free: 3.074 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8707/0.8707, allocations: 133.9 MB / 443.5 MB, free: 13.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",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.001981/0.001981, allocations: 71.34 kB / 0.6141 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1792, allocations: 85.86 MB / 0.698 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08232/0.2616, allocations: 78 MB / 0.7741 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0287/0.2903, allocations: 18.89 MB / 0.7926 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004999/0.2953, allocations: 150.7 kB / 0.7927 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.2994, allocations: 1.3 MB / 0.794 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.3105, allocations: 3.802 MB / 0.7977 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.3164, allocations: 2.094 MB / 0.7998 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.3267, allocations: 6.671 MB / 0.8063 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.3299, allocations: 1.708 MB / 0.8079 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006226/0.3361, allocations: 2.415 MB / 0.8103 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.34, allocations: 1.868 MB / 0.8121 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005116/0.3405, allocations: 200 kB / 0.8123 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004925/0.3455, allocations: 1.723 MB / 0.814 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007374/0.3462, allocations: 0.564 MB / 0.8145 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.3483, allocations: 1.256 MB / 0.8158 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008709/0.357, allocations: 3.864 MB / 0.8195 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.357, allocations: 0 / 0.8195 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.214e-06/0.357, allocations: 4 kB / 0.8195 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.294e-05/0.3571, allocations: 0 / 0.8195 GB, free: 1.969 MB / 0.6231 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.006036/0.3631, allocations: 2.794 MB / 0.8223 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.3632, allocations: 13.7 kB / 0.8223 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.211e-05/0.3632, allocations: 34.89 kB / 0.8223 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/0.3635, allocations: 206.8 kB / 0.8225 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007713/0.3642, allocations: 278.3 kB / 0.8228 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.3679, allocations: 2.035 MB / 0.8248 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.502e-05/0.368, allocations: 110.7 kB / 0.8249 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.3682, allocations: 144 kB / 0.825 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/0.3709, allocations: 1.516 MB / 0.8265 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.371, allocations: 3.938 kB / 0.8265 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.3711, allocations: 67.88 kB / 0.8266 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/0.3711, allocations: 40 kB / 0.8266 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.3734, allocations: 1.134 MB / 0.8277 GB, free: 9.398 MB / 0.6387 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.009307/0.3827, allocations: 7.609 MB / 0.8351 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3837, allocations: 444.5 kB / 0.8356 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.3844, allocations: 318.3 kB / 0.8359 GB, free: 468 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.3854, allocations: 1.152 MB / 0.837 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.3855, allocations: 43.12 kB / 0.837 GB, free: 15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 3.016e-06/0.3855, allocations: 0 / 0.837 GB, free: 15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002398/0.3879, allocations: 0.974 MB / 0.838 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3879, allocations: 59.97 kB / 0.838 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.3903, allocations: 1.787 MB / 0.8398 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/0.3903, allocations: 45.7 kB / 0.8398 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000852/0.3912, allocations: 0.9412 MB / 0.8408 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.3914, allocations: 226.1 kB / 0.841 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.3918, allocations: 230.8 kB / 0.8412 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.392, allocations: 341.9 kB / 0.8415 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.3927, allocations: 334.4 kB / 0.8418 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.3937, allocations: 0.6899 MB / 0.8425 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.3954, allocations: 1.008 MB / 0.8435 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3954, allocations: 4 kB / 0.8435 GB, free: 8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00236/0.3978, allocations: 1.223 MB / 0.8447 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3978, allocations: 8 kB / 0.8447 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.3978, allocations: 16.09 kB / 0.8447 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/0.3978, allocations: 16 kB / 0.8447 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3989, allocations: 291.5 kB / 0.845 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.3989, allocations: 23.88 kB / 0.845 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.4001, allocations: 170.9 kB / 0.8452 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.4002, allocations: 55.92 kB / 0.8452 GB, free: 6.195 MB / 0.6544 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.0006936/0.4009, allocations: 434.9 kB / 0.8457 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.4012, allocations: 198.7 kB / 0.8458 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.4031, allocations: 0.8708 MB / 0.8467 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4031, allocations: 7.984 kB / 0.8467 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.4031, allocations: 3.938 kB / 0.8467 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/0.4045, allocations: 0.7957 MB / 0.8475 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.4086, allocations: 2.455 MB / 0.8499 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4086, allocations: 4 kB / 0.8499 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.4094, allocations: 176 kB / 0.8501 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.4094, allocations: 8 kB / 0.8501 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.4095, allocations: 20 kB / 0.8501 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4095, allocations: 4 kB / 0.8501 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.4095, allocations: 11.88 kB / 0.8501 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.412, allocations: 1.349 MB / 0.8514 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/0.4127, allocations: 367.6 kB / 0.8518 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.4129, allocations: 16 kB / 0.8518 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009354/0.4138, allocations: 75.78 kB / 0.8519 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4139, allocations: 52.44 kB / 0.8519 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.414, allocations: 35.97 kB / 0.8519 GB, free: 15.13 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001711/0.4157, allocations: 1.235 MB / 0.8531 GB, free: 13.88 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.4157, allocations: 0 / 0.8531 GB, free: 13.88 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002043/0.4177, allocations: 0.6665 MB / 0.8538 GB, free: 13.21 MB / 0.67 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.003836/0.4216, allocations: 2.382 MB / 0.8561 GB, free: 10.78 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.4233, allocations: 0.7696 MB / 0.8569 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4233, allocations: 4 kB / 0.8569 GB, free: 10.01 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007261/0.424, allocations: 339 kB / 0.8572 GB, free: 9.676 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/0.4291, allocations: 1.197 MB / 0.8584 GB, free: 8.539 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3847/0.8138, allocations: 12.62 MB / 0.8707 GB, free: 155.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.8149, allocations: 1.408 MB / 0.8721 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001618/0.8165, allocations: 376.2 kB / 0.8724 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009043/0.8174, allocations: 0.7678 MB / 0.8732 GB, free: 154.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.333e-06/0.8174, allocations: 3.5 kB / 0.8732 GB, free: 154.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.9021, allocations: 57.78 MB / 0.9296 GB, free: 109.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.14, allocations: 12.69 kB / 0.9296 GB, free: 109.1 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.052733552001882] Failed to read output from testmodel.py, exit status != 0: 13.593348086986225 13.310888722 12.95057534 Calling exit ...