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.716/1.716, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001075/0.001075, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.711/1.711, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 87.69 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.279e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7216, allocations: 115.3 MB / 0.9645 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.791, allocations: 412.5 MB / 1.367 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.791, allocations: 94.78 kB / 1.367 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.873/4.664, allocations: 0.7892 GB / 2.157 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.715e-06/4.665, allocations: 0 / 2.157 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002882/4.665, allocations: 55.5 kB / 2.157 GB, free: 135.4 MB / 0.9323 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.008587/4.673, allocations: 2.171 MB / 2.159 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/4.674, allocations: 7.094 kB / 2.159 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/4.675, allocations: 262.3 kB / 2.159 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05357/4.729, allocations: 24.14 MB / 2.183 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/4.729, allocations: 53.14 kB / 2.183 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/4.729, allocations: 84.06 kB / 2.183 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001696/4.731, allocations: 0.8656 MB / 2.184 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/4.733, allocations: 1.199 MB / 2.185 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/4.733, allocations: 0 / 2.185 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/4.733, allocations: 7.156 kB / 2.185 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/4.733, allocations: 42.45 kB / 2.185 GB, free: 118.4 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.007563/4.741, allocations: 7.259 MB / 2.192 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/4.741, allocations: 424.2 kB / 2.192 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/4.742, allocations: 269.9 kB / 2.193 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/4.742, allocations: 1.161 MB / 2.194 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/4.742, allocations: 49.64 kB / 2.194 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 2.865e-06/4.742, allocations: 0 / 2.194 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.001317/4.744, allocations: 0.6159 MB / 2.194 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/4.744, allocations: 58.25 kB / 2.194 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/4.745, allocations: 1.189 MB / 2.196 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/4.745, allocations: 33.62 kB / 2.196 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/4.746, allocations: 0.9358 MB / 2.196 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/4.746, allocations: 213.6 kB / 2.197 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/4.746, allocations: 0 / 2.197 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/4.746, allocations: 332.7 kB / 2.197 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/4.746, allocations: 223.8 kB / 2.197 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/4.747, allocations: 0.5858 MB / 2.198 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/4.747, allocations: 350.5 kB / 2.198 GB, free: 107 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/4.748, allocations: 3.562 kB / 2.198 GB, free: 107 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001388/4.749, allocations: 0.8856 MB / 2.199 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/4.749, allocations: 13.5 kB / 2.199 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/4.749, allocations: 15.12 kB / 2.199 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/4.749, allocations: 21.61 kB / 2.199 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/4.75, allocations: 229.2 kB / 2.199 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/4.75, allocations: 22.83 kB / 2.199 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/4.751, allocations: 167.4 kB / 2.199 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/4.751, allocations: 50.33 kB / 2.2 GB, free: 106.4 MB / 0.9323 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0001685/4.752, allocations: 131.8 kB / 2.2 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001068/4.753, allocations: 0.6104 MB / 2.2 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/4.753, allocations: 171.6 kB / 2.2 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/4.754, allocations: 0.7288 MB / 2.201 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/4.754, allocations: 7.531 kB / 2.201 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/4.754, allocations: 0 / 2.201 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009113/4.755, allocations: 0.6829 MB / 2.202 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/4.759, allocations: 2.155 MB / 2.204 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/4.759, allocations: 3.688 kB / 2.204 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/4.759, allocations: 181.1 kB / 2.204 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/4.759, allocations: 7.688 kB / 2.204 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/4.759, allocations: 10.28 kB / 2.204 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/4.76, allocations: 7.047 kB / 2.204 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/4.76, allocations: 3.844 kB / 2.204 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/4.761, allocations: 1.283 MB / 2.205 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/4.762, allocations: 371.8 kB / 2.206 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/4.762, allocations: 3.344 kB / 2.206 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/4.763, allocations: 114.8 kB / 2.206 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/4.763, allocations: 53.02 kB / 2.206 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/4.763, allocations: 38.91 kB / 2.206 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001118/4.764, allocations: 0.8933 MB / 2.207 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.4e-07/4.764, allocations: 0 / 2.207 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002297/4.767, allocations: 0.6943 MB / 2.207 GB, free: 101.1 MB / 0.9323 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 () * 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.003366/4.77, allocations: 3.22 MB / 2.211 GB, free: 97.98 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009933/4.771, allocations: 0.6127 MB / 2.211 GB, free: 97.37 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/4.771, allocations: 2.297 kB / 2.211 GB, free: 97.37 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/4.771, allocations: 301.9 kB / 2.211 GB, free: 97.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/4.776, allocations: 0.9496 MB / 2.212 GB, free: 96.16 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/4.783, allocations: 2.717 MB / 2.215 GB, free: 93.37 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/4.784, allocations: 1.442 MB / 2.216 GB, free: 91.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00198/4.786, allocations: 339.7 kB / 2.217 GB, free: 91.58 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/4.787, allocations: 0.7374 MB / 2.218 GB, free: 90.84 MB / 0.9323 GB Notification: Performance of SimCode: time 2.225e-06/4.787, allocations: 3.062 kB / 2.218 GB, free: 90.84 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/4.891, allocations: 48.52 MB / 2.265 GB, free: 43.13 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/4.891, allocations: 193.5 kB / 2.265 GB, free: 42.93 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.771/8.663, allocations: 0 / 2.265 GB, free: 42.93 MB / 0.9323 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)