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: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.7 MB / 302.3 MB, free: 2.211 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.001195/0.001195, allocations: 184.4 kB / 371.6 MB, free: 3.402 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.79/1.79, allocations: 205.2 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.001028/0.001029, allocations: 92.55 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.142e-05/5.145e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3067, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.949/2.256, allocations: 414.1 MB / 1.384 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/2.256, allocations: 90.86 kB / 1.384 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.912/5.168, allocations: 0.7938 GB / 2.178 GB, free: 121.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.876e-06/5.168, allocations: 2.438 kB / 2.178 GB, free: 121.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004969/5.169, allocations: 59.8 kB / 2.178 GB, free: 121.2 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.009235/5.178, allocations: 2.161 MB / 2.18 GB, free: 120.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/5.178, allocations: 8.75 kB / 2.18 GB, free: 120.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/5.18, allocations: 265.4 kB / 2.181 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07619/5.256, allocations: 24.2 MB / 2.204 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/5.257, allocations: 106.1 kB / 2.204 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006473/5.257, allocations: 148.7 kB / 2.204 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/5.262, allocations: 1.394 MB / 2.206 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/5.262, allocations: 1.797 kB / 2.206 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/5.262, allocations: 59.84 kB / 2.206 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/5.263, allocations: 38.11 kB / 2.206 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/5.265, allocations: 0.9552 MB / 2.207 GB, free: 119 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.01302/5.278, allocations: 7.56 MB / 2.214 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/5.279, allocations: 453.2 kB / 2.215 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/5.28, allocations: 285.8 kB / 2.215 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008581/5.281, allocations: 1.164 MB / 2.216 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/5.281, allocations: 50.67 kB / 2.216 GB, free: 113.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.296e-06/5.281, allocations: 0 / 2.216 GB, free: 113.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.001834/5.283, allocations: 0.6476 MB / 2.217 GB, free: 113.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/5.283, allocations: 60.19 kB / 2.217 GB, free: 113.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/5.286, allocations: 1.508 MB / 2.218 GB, free: 113 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/5.287, allocations: 43.77 kB / 2.218 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/5.288, allocations: 0.9402 MB / 2.219 GB, free: 112.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/5.288, allocations: 214.3 kB / 2.219 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/5.288, allocations: 17.12 kB / 2.219 GB, free: 112.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/5.288, allocations: 340.8 kB / 2.22 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/5.289, allocations: 239.8 kB / 2.22 GB, free: 112.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/5.289, allocations: 0.6064 MB / 2.221 GB, free: 111.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006732/5.29, allocations: 349.3 kB / 2.221 GB, free: 111.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/5.29, allocations: 6.75 kB / 2.221 GB, free: 111.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002262/5.292, allocations: 0.9778 MB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/5.292, allocations: 14.84 kB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/5.292, allocations: 13.89 kB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.955e-05/5.293, allocations: 16.44 kB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008452/5.293, allocations: 228 kB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.728e-05/5.293, allocations: 22.16 kB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/5.296, allocations: 237.4 kB / 2.222 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/5.296, allocations: 53.8 kB / 2.222 GB, free: 111.6 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.0002842/5.296, allocations: 167.3 kB / 2.223 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006475/5.297, allocations: 197.8 kB / 2.223 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/5.299, allocations: 0.786 MB / 2.224 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/5.299, allocations: 14.61 kB / 2.224 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/5.299, allocations: 0 / 2.224 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009294/5.3, allocations: 0.7052 MB / 2.224 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/5.306, allocations: 2.373 MB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/5.306, allocations: 5.375 kB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/5.306, allocations: 177.6 kB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/5.306, allocations: 4.844 kB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/5.307, allocations: 14.94 kB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/5.307, allocations: 10.72 kB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/5.307, allocations: 2.922 kB / 2.227 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/5.309, allocations: 1.387 MB / 2.228 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/5.311, allocations: 403.4 kB / 2.229 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008308/5.311, allocations: 12.78 kB / 2.229 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/5.313, allocations: 132.3 kB / 2.229 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/5.314, allocations: 57.06 kB / 2.229 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/5.314, allocations: 30.56 kB / 2.229 GB, free: 109.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003269/5.317, allocations: 1.196 MB / 2.23 GB, free: 109.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/5.317, allocations: 0 / 2.23 GB, free: 109.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003698/5.321, allocations: 0.6886 MB / 2.231 GB, free: 109.6 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.002505/5.323, allocations: 0.9734 MB / 2.232 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001606/5.325, allocations: 0.651 MB / 2.232 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/5.325, allocations: 2.969 kB / 2.232 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/5.326, allocations: 315.1 kB / 2.233 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008601/5.334, allocations: 1.247 MB / 2.234 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/5.341, allocations: 2.391 MB / 2.236 GB, free: 108.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/5.342, allocations: 1.445 MB / 2.237 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002599/5.345, allocations: 389.5 kB / 2.238 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/5.345, allocations: 146.1 kB / 2.238 GB, free: 107.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/5.345, allocations: 2.438 kB / 2.238 GB, free: 107.8 MB / 0.948 GB Notification: Performance of Templates: time 0.07075/5.416, allocations: 44.7 MB / 2.282 GB, free: 105.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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 & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)