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.001871/0.001871, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002331/0.002331, allocations: 216.6 kB / 23.03 MB, free: 4.949 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.8968/0.8968, allocations: 134 MB / 447.2 MB, free: 9.949 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.002134/0.002134, allocations: 59.12 kB / 0.6193 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1826, allocations: 85.91 MB / 0.7032 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5045/0.687, allocations: 70.89 MB / 0.7724 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03136/0.7184, allocations: 17.51 MB / 0.7895 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005469/0.7239, allocations: 153.2 kB / 0.7896 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.7287, allocations: 1.236 MB / 0.7908 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.7422, allocations: 3.877 MB / 0.7946 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.7491, allocations: 2.158 MB / 0.7967 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.7613, allocations: 6.833 MB / 0.8034 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004265/0.7656, allocations: 1.606 MB / 0.805 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007963/0.7736, allocations: 2.443 MB / 0.8073 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004913/0.7785, allocations: 1.863 MB / 0.8092 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009263/0.7794, allocations: 199.3 kB / 0.8094 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005941/0.7854, allocations: 1.352 MB / 0.8107 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.7868, allocations: 0.5702 MB / 0.8112 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003544/0.7904, allocations: 1.007 MB / 0.8122 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.803, allocations: 3.808 MB / 0.8159 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.803, allocations: 0 / 0.8159 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.803, allocations: 0 / 0.8159 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001579/0.8032, allocations: 0 / 0.8159 GB, free: 14.56 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.008234/0.8114, allocations: 2.722 MB / 0.8186 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.8115, allocations: 9.156 kB / 0.8186 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.337e-05/0.8116, allocations: 38.83 kB / 0.8186 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005602/0.8121, allocations: 199.3 kB / 0.8188 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.8134, allocations: 289.3 kB / 0.8191 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.8182, allocations: 1.941 MB / 0.821 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.8184, allocations: 107.7 kB / 0.8211 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/0.8187, allocations: 149 kB / 0.8212 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.8228, allocations: 1.827 MB / 0.823 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.8229, allocations: 3.938 kB / 0.823 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/0.8232, allocations: 62.16 kB / 0.8231 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.8232, allocations: 44.52 kB / 0.8231 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.8262, allocations: 1.124 MB / 0.8242 GB, free: 8.594 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.01112/0.8373, allocations: 5.324 MB / 0.8294 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.8385, allocations: 445 kB / 0.8299 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.8392, allocations: 314.7 kB / 0.8302 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.8397, allocations: 104.4 kB / 0.8303 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.8397, allocations: 39.06 kB / 0.8303 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.425e-06/0.8397, allocations: 0 / 0.8303 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.003125/0.8429, allocations: 0.9721 MB / 0.8312 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.8429, allocations: 59.91 kB / 0.8313 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.8469, allocations: 1.795 MB / 0.8331 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/0.8472, allocations: 41.7 kB / 0.8331 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.8485, allocations: 0.9528 MB / 0.834 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/0.849, allocations: 226.1 kB / 0.8342 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005841/0.8496, allocations: 222.8 kB / 0.8345 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.8498, allocations: 357.9 kB / 0.8348 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/0.8507, allocations: 326.4 kB / 0.8351 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.8522, allocations: 0.9699 MB / 0.8361 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.8542, allocations: 1.017 MB / 0.837 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.8543, allocations: 4 kB / 0.837 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003315/0.8576, allocations: 1.227 MB / 0.8382 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.8576, allocations: 13.88 kB / 0.8383 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.8576, allocations: 8 kB / 0.8383 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.8577, allocations: 16 kB / 0.8383 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.8588, allocations: 291.6 kB / 0.8386 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.523e-05/0.8588, allocations: 19.92 kB / 0.8386 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.8604, allocations: 170.8 kB / 0.8387 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.8606, allocations: 51.98 kB / 0.8388 GB, free: 9.062 MB / 0.6075 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.0009217/0.8615, allocations: 448.6 kB / 0.8392 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/0.8622, allocations: 198.7 kB / 0.8394 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.8644, allocations: 0.8781 MB / 0.8403 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.8644, allocations: 4 kB / 0.8403 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8644, allocations: 0 / 0.8403 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.8658, allocations: 0.8134 MB / 0.8411 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.8709, allocations: 2.231 MB / 0.8432 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.8709, allocations: 0 / 0.8432 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.8718, allocations: 184 kB / 0.8434 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.8718, allocations: 4 kB / 0.8434 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.8718, allocations: 23.98 kB / 0.8434 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-06/0.8718, allocations: 4 kB / 0.8435 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8718, allocations: 4 kB / 0.8435 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.8747, allocations: 1.359 MB / 0.8448 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/0.8756, allocations: 298.4 kB / 0.8451 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/0.8761, allocations: 16 kB / 0.8451 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.8773, allocations: 63.81 kB / 0.8451 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.8774, allocations: 60.38 kB / 0.8452 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.8775, allocations: 43.95 kB / 0.8452 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002295/0.8798, allocations: 1.239 MB / 0.8465 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8798, allocations: 4 kB / 0.8465 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00236/0.8822, allocations: 0.6626 MB / 0.8471 GB, free: 364 kB / 0.6075 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.004613/0.8868, allocations: 2.377 MB / 0.8494 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.8887, allocations: 0.7851 MB / 0.8502 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8888, allocations: 320 / 0.8502 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.8895, allocations: 342.5 kB / 0.8505 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/0.8959, allocations: 1.215 MB / 0.8517 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/0.9222, allocations: 12.63 MB / 0.864 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.9235, allocations: 0.8356 MB / 0.8649 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001872/0.9254, allocations: 372.5 kB / 0.8652 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.9268, allocations: 0.7687 MB / 0.866 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/0.9268, allocations: 0 / 0.866 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.046, allocations: 62.49 MB / 0.927 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.37, allocations: 14.66 kB / 0.927 GB, free: 14.8 MB / 0.7012 GB " [Timeout remaining time 643] (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: 20.300650770077482] Failed to read output from testmodel.py, exit status != 0: 16.564990458078682 16.583239822 15.776020255 Calling exit ...