Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.475/2.475, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001449/0.001449, allocations: 188.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001005/0.001005, allocations: 85.22 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.722e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.8885, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/2.166, allocations: 412.3 MB / 1.366 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/2.167, allocations: 93.34 kB / 1.366 GB, free: 155.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.126/6.293, allocations: 0.7892 GB / 2.155 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.964e-06/6.293, allocations: 0 / 2.155 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003432/6.293, allocations: 56.98 kB / 2.155 GB, free: 136.1 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.006895/6.3, allocations: 2.169 MB / 2.158 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/6.3, allocations: 9.562 kB / 2.158 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/6.302, allocations: 270.8 kB / 2.158 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07583/6.378, allocations: 24.13 MB / 2.181 GB, free: 121 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/6.378, allocations: 44.72 kB / 2.181 GB, free: 121 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/6.378, allocations: 90.44 kB / 2.182 GB, free: 121 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002623/6.381, allocations: 0.8626 MB / 2.182 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003592/6.384, allocations: 1.199 MB / 2.184 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/6.385, allocations: 0 / 2.184 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/6.385, allocations: 3.969 kB / 2.184 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-05/6.385, allocations: 46.14 kB / 2.184 GB, free: 119.9 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.01262/6.397, allocations: 7.259 MB / 2.191 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/6.399, allocations: 426.3 kB / 2.191 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/6.399, allocations: 269.1 kB / 2.191 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009785/6.4, allocations: 1.163 MB / 2.192 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/6.4, allocations: 37.28 kB / 2.193 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 3.757e-06/6.4, allocations: 0 / 2.193 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.002306/6.403, allocations: 0.6194 MB / 2.193 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/6.403, allocations: 59.62 kB / 2.193 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/6.405, allocations: 1.186 MB / 2.194 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002358/6.406, allocations: 30.95 kB / 2.194 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/6.407, allocations: 0.9376 MB / 2.195 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/6.407, allocations: 216.7 kB / 2.195 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/6.407, allocations: 0 / 2.195 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/6.407, allocations: 340.2 kB / 2.196 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/6.408, allocations: 217.3 kB / 2.196 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/6.409, allocations: 0.583 MB / 2.197 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/6.41, allocations: 356.8 kB / 2.197 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/6.41, allocations: 3.781 kB / 2.197 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002772/6.413, allocations: 0.888 MB / 2.198 GB, free: 108 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/6.413, allocations: 14.7 kB / 2.198 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/6.413, allocations: 7.844 kB / 2.198 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/6.413, allocations: 21.5 kB / 2.198 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/6.414, allocations: 233.2 kB / 2.198 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/6.414, allocations: 23.17 kB / 2.198 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/6.417, allocations: 169.3 kB / 2.198 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/6.417, allocations: 50.02 kB / 2.198 GB, free: 107.9 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.0002794/6.417, allocations: 131.2 kB / 2.198 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002057/6.419, allocations: 0.6106 MB / 2.199 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/6.42, allocations: 174.9 kB / 2.199 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/6.422, allocations: 0.7219 MB / 2.2 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/6.422, allocations: 11.52 kB / 2.2 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/6.422, allocations: 3.031 kB / 2.2 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/6.424, allocations: 0.6781 MB / 2.201 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/6.43, allocations: 2.154 MB / 2.203 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/6.43, allocations: 7.953 kB / 2.203 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/6.431, allocations: 179.5 kB / 2.203 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/6.431, allocations: 3.906 kB / 2.203 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/6.431, allocations: 11.5 kB / 2.203 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/6.431, allocations: 3.938 kB / 2.203 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/6.431, allocations: 6.938 kB / 2.203 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/6.434, allocations: 1.291 MB / 2.204 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/6.436, allocations: 360.7 kB / 2.204 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/6.436, allocations: 7.859 kB / 2.204 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/6.439, allocations: 114.2 kB / 2.205 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/6.439, allocations: 54.86 kB / 2.205 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/6.439, allocations: 34.8 kB / 2.205 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002177/6.441, allocations: 0.8959 MB / 2.206 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.62e-07/6.441, allocations: 0 / 2.206 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003825/6.445, allocations: 0.6929 MB / 2.206 GB, free: 103 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.00559/6.451, allocations: 3.227 MB / 2.209 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001653/6.452, allocations: 0.6037 MB / 2.21 GB, free: 99.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/6.453, allocations: 7.062 kB / 2.21 GB, free: 99.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/6.453, allocations: 297.9 kB / 2.21 GB, free: 99.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008528/6.462, allocations: 0.9569 MB / 2.211 GB, free: 98.75 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/6.471, allocations: 2.721 MB / 2.214 GB, free: 95.97 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/6.472, allocations: 1.438 MB / 2.215 GB, free: 94.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00257/6.474, allocations: 349.8 kB / 2.216 GB, free: 94.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/6.476, allocations: 0.7375 MB / 2.216 GB, free: 93.44 MB / 0.9323 GB Notification: Performance of SimCode: time 1.562e-06/6.476, allocations: 0 / 2.216 GB, free: 93.44 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/6.639, allocations: 48.5 MB / 2.264 GB, free: 45.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/6.639, allocations: 193.7 kB / 2.264 GB, free: 45.49 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.343/10.98, allocations: 3.375 kB / 2.264 GB, free: 45.49 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)