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.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001502/0.001502, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.785 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.9025/0.9025, allocations: 134 MB / 446.4 MB, free: 9.91 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.002056/0.002056, allocations: 64.06 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2017, allocations: 85.91 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5422/0.7439, allocations: 70.96 MB / 0.7717 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02944/0.7733, allocations: 17.53 MB / 0.7888 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005713/0.779, allocations: 148.5 kB / 0.7889 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.7835, allocations: 1.238 MB / 0.7902 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.7976, allocations: 3.864 MB / 0.7939 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007101/0.8047, allocations: 2.133 MB / 0.796 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01257/0.8173, allocations: 6.778 MB / 0.8026 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003633/0.8209, allocations: 1.583 MB / 0.8042 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006999/0.8279, allocations: 2.454 MB / 0.8066 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.8317, allocations: 1.786 MB / 0.8083 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003713/0.8321, allocations: 198.2 kB / 0.8085 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.8371, allocations: 1.343 MB / 0.8098 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008564/0.8379, allocations: 0.5718 MB / 0.8104 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.8398, allocations: 1.007 MB / 0.8114 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.8466, allocations: 3.81 MB / 0.8151 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8466, allocations: 2.938 kB / 0.8151 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8466, allocations: 0 / 0.8151 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.639e-05/0.8466, allocations: 0 / 0.8151 GB, free: 14.66 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.004823/0.8515, allocations: 2.715 MB / 0.8177 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8515, allocations: 10.66 kB / 0.8177 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.8517, allocations: 200.3 kB / 0.8179 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/0.8525, allocations: 282 kB / 0.8182 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.856, allocations: 1.951 MB / 0.8201 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.279e-05/0.8561, allocations: 105.1 kB / 0.8202 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.8563, allocations: 150.5 kB / 0.8204 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.859, allocations: 1.826 MB / 0.8221 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.8591, allocations: 0 / 0.8221 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.8592, allocations: 59.88 kB / 0.8222 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.8592, allocations: 36.62 kB / 0.8222 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.8614, allocations: 1.132 MB / 0.8233 GB, free: 8.707 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.008044/0.8694, allocations: 5.32 MB / 0.8285 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.8705, allocations: 445 kB / 0.829 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.8711, allocations: 310.1 kB / 0.8293 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/0.8715, allocations: 108.4 kB / 0.8294 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.8716, allocations: 47.09 kB / 0.8294 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.8716, allocations: 0 / 0.8294 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002389/0.874, allocations: 0.9682 MB / 0.8303 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.874, allocations: 55.91 kB / 0.8304 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.8765, allocations: 1.814 MB / 0.8322 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.8766, allocations: 41.7 kB / 0.8322 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009122/0.8775, allocations: 0.9412 MB / 0.8331 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.8777, allocations: 238 kB / 0.8334 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/0.8781, allocations: 226.7 kB / 0.8336 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.8782, allocations: 353.9 kB / 0.8339 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.879, allocations: 334.4 kB / 0.8342 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.8802, allocations: 0.966 MB / 0.8352 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.8819, allocations: 1.013 MB / 0.8362 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.8819, allocations: 0 / 0.8362 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002503/0.8844, allocations: 1.227 MB / 0.8374 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.8845, allocations: 8 kB / 0.8374 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.8845, allocations: 12 kB / 0.8374 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.8845, allocations: 19.94 kB / 0.8374 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.8856, allocations: 288 kB / 0.8377 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-05/0.8856, allocations: 23.92 kB / 0.8377 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.8869, allocations: 166.9 kB / 0.8379 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.887, allocations: 59.94 kB / 0.8379 GB, free: 9.156 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.0007936/0.8878, allocations: 434 kB / 0.8383 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.8881, allocations: 210.7 kB / 0.8385 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.8901, allocations: 0.8732 MB / 0.8394 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.8901, allocations: 11.98 kB / 0.8394 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8901, allocations: 4 kB / 0.8394 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/0.8916, allocations: 0.794 MB / 0.8402 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.896, allocations: 2.238 MB / 0.8424 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.896, allocations: 4 kB / 0.8424 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.8968, allocations: 171.8 kB / 0.8425 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.8968, allocations: 4 kB / 0.8425 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.8968, allocations: 24.2 kB / 0.8426 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.8968, allocations: 7.938 kB / 0.8426 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8968, allocations: 4 kB / 0.8426 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.8994, allocations: 1.367 MB / 0.8439 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.9002, allocations: 294.4 kB / 0.8442 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.9004, allocations: 16 kB / 0.8442 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/0.9013, allocations: 67.89 kB / 0.8443 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9015, allocations: 52.36 kB / 0.8443 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.9015, allocations: 35.97 kB / 0.8443 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001838/0.9034, allocations: 1.243 MB / 0.8456 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.9034, allocations: 3.938 kB / 0.8456 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001869/0.9052, allocations: 0.6626 MB / 0.8462 GB, free: 472 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.003878/0.9091, allocations: 2.392 MB / 0.8485 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.9109, allocations: 0.7884 MB / 0.8493 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.9109, allocations: 4 kB / 0.8493 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.9116, allocations: 336 kB / 0.8496 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/0.9165, allocations: 1.207 MB / 0.8508 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.9367, allocations: 12.64 MB / 0.8632 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009852/0.9377, allocations: 0.8279 MB / 0.864 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001664/0.9393, allocations: 380.4 kB / 0.8643 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.9405, allocations: 0.7687 MB / 0.8651 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of SimCode: time 1.733e-06/0.9405, allocations: 0 / 0.8651 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.065, allocations: 63.02 MB / 0.9266 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.31, allocations: 4.062 kB / 0.9266 GB, free: 14.32 MB / 0.7012 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: 18.369866088032722] Failed to read output from testmodel.py, exit status != 0: 14.456295075360686 14.481599001 13.630364613 Calling exit ...