Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 288.4 MB / 303.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 185.2 kB / 372.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 0.631 GB, free: 9.816 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000771/0.0007711, allocations: 94.23 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 12.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06275/0.2777, allocations: 71.15 MB / 1.05 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02675/0.3045, allocations: 17.57 MB / 1.067 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003895/0.3084, allocations: 87.38 kB / 1.067 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.3115, allocations: 0.8811 MB / 1.068 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.5026/0.8141, allocations: 3.015 MB / 1.071 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005768/0.8199, allocations: 1.539 MB / 1.072 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.8341, allocations: 7.617 MB / 1.08 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003898/0.838, allocations: 1.663 MB / 1.081 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005463/0.8435, allocations: 1.884 MB / 1.083 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/0.8471, allocations: 1.596 MB / 1.085 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.8475, allocations: 76.64 kB / 1.085 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.852, allocations: 1.35 MB / 1.086 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.8525, allocations: 390.7 kB / 1.086 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.8547, allocations: 1.068 MB / 1.087 GB, free: 29.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.8582, allocations: 2.797 MB / 1.09 GB, free: 29.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8582, allocations: 0 / 1.09 GB, free: 29.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8582, allocations: 0 / 1.09 GB, free: 29.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.793e-05/0.8583, allocations: 1.344 kB / 1.09 GB, free: 29.29 MB / 0.698 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.004162/0.8625, allocations: 2.285 MB / 1.092 GB, free: 28.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8625, allocations: 9.938 kB / 1.092 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.8628, allocations: 199.6 kB / 1.093 GB, free: 28.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.8634, allocations: 271.4 kB / 1.093 GB, free: 27.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.8666, allocations: 1.949 MB / 1.095 GB, free: 27.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/0.8667, allocations: 108.3 kB / 1.095 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.8669, allocations: 142.6 kB / 1.095 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.8697, allocations: 1.538 MB / 1.097 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.8697, allocations: 1.469 kB / 1.097 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.8698, allocations: 60.97 kB / 1.097 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.244e-05/0.8699, allocations: 40.89 kB / 1.097 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.8721, allocations: 1.154 MB / 1.098 GB, free: 27.07 MB / 0.698 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.007962/0.88, allocations: 7.589 MB / 1.105 GB, free: 22.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.8811, allocations: 495.5 kB / 1.106 GB, free: 22.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.8817, allocations: 358.3 kB / 1.106 GB, free: 22.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007604/0.8825, allocations: 1.15 MB / 1.107 GB, free: 21.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.8825, allocations: 39.34 kB / 1.107 GB, free: 21.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.805e-06/0.8825, allocations: 0 / 1.107 GB, free: 21.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002033/0.8846, allocations: 1.024 MB / 1.108 GB, free: 21.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.8846, allocations: 62.53 kB / 1.108 GB, free: 21.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.8865, allocations: 1.723 MB / 1.11 GB, free: 20.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.8866, allocations: 45.88 kB / 1.11 GB, free: 20.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.8872, allocations: 0.9172 MB / 1.111 GB, free: 20.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.8874, allocations: 220.2 kB / 1.111 GB, free: 20.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.8875, allocations: 21.72 kB / 1.111 GB, free: 20.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8876, allocations: 348.6 kB / 1.111 GB, free: 20.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/0.8883, allocations: 348.4 kB / 1.112 GB, free: 20.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.8892, allocations: 0.709 MB / 1.112 GB, free: 19.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8907, allocations: 1.046 MB / 1.113 GB, free: 19.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.8908, allocations: 5.906 kB / 1.113 GB, free: 19.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002119/0.8929, allocations: 1.254 MB / 1.115 GB, free: 19.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.8929, allocations: 10.97 kB / 1.115 GB, free: 19.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.8929, allocations: 10.25 kB / 1.115 GB, free: 19.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.893, allocations: 13.28 kB / 1.115 GB, free: 19.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.894, allocations: 321.2 kB / 1.115 GB, free: 18.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-05/0.894, allocations: 23.75 kB / 1.115 GB, free: 18.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.8958, allocations: 247.6 kB / 1.115 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.8959, allocations: 49.67 kB / 1.115 GB, free: 18.9 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007232/0.8966, allocations: 443.7 kB / 1.116 GB, free: 18.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.8969, allocations: 194.2 kB / 1.116 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.8986, allocations: 0.901 MB / 1.117 GB, free: 18.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.8986, allocations: 10.06 kB / 1.117 GB, free: 18.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8986, allocations: 1.375 kB / 1.117 GB, free: 18.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.8999, allocations: 0.8401 MB / 1.118 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.9037, allocations: 2.471 MB / 1.12 GB, free: 17.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9037, allocations: 2.406 kB / 1.12 GB, free: 17.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.9045, allocations: 206.3 kB / 1.12 GB, free: 17.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.9045, allocations: 6.547 kB / 1.12 GB, free: 17.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.9046, allocations: 25.72 kB / 1.12 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.9046, allocations: 4.188 kB / 1.12 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9046, allocations: 5.5 kB / 1.12 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.9068, allocations: 1.394 MB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.9074, allocations: 401.3 kB / 1.122 GB, free: 17.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.9076, allocations: 20.62 kB / 1.122 GB, free: 17.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9087, allocations: 125.1 kB / 1.122 GB, free: 17.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9089, allocations: 47.34 kB / 1.122 GB, free: 17.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.9089, allocations: 44.94 kB / 1.122 GB, free: 17.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001664/0.9106, allocations: 1.185 MB / 1.123 GB, free: 17.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9106, allocations: 0 / 1.123 GB, free: 17.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002385/0.913, allocations: 0.6377 MB / 1.124 GB, free: 16.98 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004297/0.9173, allocations: 2.417 MB / 1.126 GB, free: 16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.9193, allocations: 0.8571 MB / 1.127 GB, free: 15.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9193, allocations: 1 kB / 1.127 GB, free: 15.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.9201, allocations: 374.3 kB / 1.128 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/0.9257, allocations: 1.196 MB / 1.129 GB, free: 15.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.9459, allocations: 11.11 MB / 1.14 GB, free: 9.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.9469, allocations: 1.401 MB / 1.141 GB, free: 8.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001686/0.9486, allocations: 380.6 kB / 1.141 GB, free: 8.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008146/0.9494, allocations: 0.7607 MB / 1.142 GB, free: 8.086 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.9494, allocations: 3.938 kB / 1.142 GB, free: 8.082 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9297/1.879, allocations: 57.89 MB / 1.199 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/1.879, allocations: 251.6 kB / 1.199 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.809/5.689, allocations: 0 / 1.199 GB, free: 3.664 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)