Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001122/0.001122, allocations: 178.7 kB / 371.6 MB, free: 3.359 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.631/1.631, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009096/0.0009095, allocations: 91.23 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.03e-05/5.045e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2914, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.841/2.132, allocations: 414.2 MB / 1.384 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/2.133, allocations: 94.7 kB / 1.384 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.362/5.495, allocations: 0.7938 GB / 2.178 GB, free: 121.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/5.495, allocations: 2.156 kB / 2.178 GB, free: 121.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002374/5.495, allocations: 58.58 kB / 2.178 GB, free: 121.6 MB / 0.948 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.005874/5.501, allocations: 2.166 MB / 2.18 GB, free: 120.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/5.501, allocations: 12.67 kB / 2.18 GB, free: 120.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002881/5.501, allocations: 203.1 kB / 2.181 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/5.502, allocations: 261.6 kB / 2.181 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04925/5.552, allocations: 24.21 MB / 2.205 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/5.552, allocations: 107.3 kB / 2.205 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/5.552, allocations: 148.6 kB / 2.205 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/5.555, allocations: 1.395 MB / 2.206 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/5.555, allocations: 4.344 kB / 2.206 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/5.555, allocations: 58.86 kB / 2.206 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/5.555, allocations: 37.17 kB / 2.206 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/5.557, allocations: 0.9505 MB / 2.207 GB, free: 119.2 MB / 0.948 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.01022/5.567, allocations: 7.567 MB / 2.215 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/5.568, allocations: 445.3 kB / 2.215 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/5.568, allocations: 282.1 kB / 2.215 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/5.569, allocations: 1.174 MB / 2.216 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/5.569, allocations: 38.53 kB / 2.216 GB, free: 113.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.916e-06/5.569, allocations: 0 / 2.216 GB, free: 113.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.001632/5.571, allocations: 0.649 MB / 2.217 GB, free: 113.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/5.571, allocations: 60.34 kB / 2.217 GB, free: 113.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/5.574, allocations: 1.511 MB / 2.219 GB, free: 113.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/5.574, allocations: 43.73 kB / 2.219 GB, free: 113.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/5.575, allocations: 0.934 MB / 2.22 GB, free: 112.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/5.575, allocations: 215.3 kB / 2.22 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/5.575, allocations: 23.44 kB / 2.22 GB, free: 112.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/5.575, allocations: 339.9 kB / 2.22 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/5.575, allocations: 233.3 kB / 2.22 GB, free: 112.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/5.576, allocations: 0.6147 MB / 2.221 GB, free: 112 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/5.577, allocations: 346 kB / 2.221 GB, free: 112 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/5.577, allocations: 3.094 kB / 2.221 GB, free: 112 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002033/5.579, allocations: 0.984 MB / 2.222 GB, free: 111.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/5.579, allocations: 12.77 kB / 2.222 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/5.579, allocations: 9.75 kB / 2.222 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.842e-05/5.579, allocations: 19.81 kB / 2.222 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/5.58, allocations: 225.8 kB / 2.222 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/5.58, allocations: 23.78 kB / 2.222 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/5.582, allocations: 233.9 kB / 2.223 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/5.582, allocations: 52.64 kB / 2.223 GB, free: 111.8 MB / 0.948 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.0002463/5.582, allocations: 161.8 kB / 2.223 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/5.582, allocations: 191.9 kB / 2.223 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/5.584, allocations: 0.7914 MB / 2.224 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/5.584, allocations: 11.31 kB / 2.224 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/5.584, allocations: 2.938 kB / 2.224 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007961/5.585, allocations: 0.7043 MB / 2.225 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/5.589, allocations: 2.373 MB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/5.589, allocations: 2.719 kB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/5.59, allocations: 183.4 kB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/5.59, allocations: 9.469 kB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/5.59, allocations: 15.03 kB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/5.59, allocations: 7.328 kB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/5.59, allocations: 2.375 kB / 2.227 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/5.592, allocations: 1.389 MB / 2.228 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/5.593, allocations: 400.5 kB / 2.229 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/5.593, allocations: 18.72 kB / 2.229 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/5.595, allocations: 126.9 kB / 2.229 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/5.595, allocations: 54.36 kB / 2.229 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/5.595, allocations: 37.27 kB / 2.229 GB, free: 110.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002068/5.597, allocations: 1.195 MB / 2.23 GB, free: 109.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/5.597, allocations: 0 / 2.23 GB, free: 109.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00302/5.6, allocations: 0.6944 MB / 2.231 GB, free: 109.8 MB / 0.948 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.004833/5.605, allocations: 3.286 MB / 2.234 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001503/5.606, allocations: 0.6504 MB / 2.235 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/5.606, allocations: 1.781 kB / 2.235 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/5.607, allocations: 320.1 kB / 2.235 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006784/5.614, allocations: 1.252 MB / 2.236 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/5.62, allocations: 2.837 MB / 2.239 GB, free: 107.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/5.621, allocations: 1.439 MB / 2.24 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002134/5.623, allocations: 389.3 kB / 2.241 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009721/5.624, allocations: 0.752 MB / 2.242 GB, free: 106.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/5.624, allocations: 0 / 2.242 GB, free: 106.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/5.73, allocations: 63.43 MB / 2.304 GB, free: 103.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/5.731, allocations: 200.3 kB / 2.304 GB, free: 103.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.534/10.26, allocations: 0 / 2.304 GB, free: 103.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)