Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.723/1.723, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 191.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007817, allocations: 93.33 kB / 0.7808 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 14.72 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8036, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9886/1.792, allocations: 416.7 MB / 1.433 GB, free: 248 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.793, allocations: 102.6 kB / 1.433 GB, free: 248 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.815/4.607, allocations: 0.8059 GB / 2.239 GB, free: 126.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.074e-06/4.607, allocations: 3.312 kB / 2.239 GB, free: 126.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002179/4.608, allocations: 57.2 kB / 2.239 GB, free: 126.3 MB / 0.9792 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.006196/4.614, allocations: 2.547 MB / 2.242 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/4.614, allocations: 9.469 kB / 2.242 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008839/4.615, allocations: 263.5 kB / 2.242 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04264/4.657, allocations: 23.18 MB / 2.265 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/4.658, allocations: 107.7 kB / 2.265 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/4.658, allocations: 145.9 kB / 2.265 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/4.66, allocations: 1.493 MB / 2.266 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/4.66, allocations: 11.66 kB / 2.266 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/4.66, allocations: 57.22 kB / 2.266 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/4.66, allocations: 40.22 kB / 2.266 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/4.662, allocations: 1.107 MB / 2.268 GB, free: 123.6 MB / 0.9792 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.007485/4.67, allocations: 7.537 MB / 2.275 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/4.671, allocations: 0.513 MB / 2.275 GB, free: 119.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/4.671, allocations: 357.6 kB / 2.276 GB, free: 119.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/4.672, allocations: 1.162 MB / 2.277 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/4.672, allocations: 45.44 kB / 2.277 GB, free: 118 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=59): time 3.476e-06/4.672, allocations: 0 / 2.277 GB, free: 118 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59): time 0.00204/4.674, allocations: 1.042 MB / 2.278 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/4.674, allocations: 62.81 kB / 2.278 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/4.676, allocations: 1.707 MB / 2.28 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/4.676, allocations: 42.58 kB / 2.28 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/4.677, allocations: 0.9355 MB / 2.281 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/4.677, allocations: 214.6 kB / 2.281 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/4.677, allocations: 19.22 kB / 2.281 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/4.677, allocations: 341 kB / 2.281 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/4.678, allocations: 305 kB / 2.281 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/4.678, allocations: 0.6859 MB / 2.282 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/4.68, allocations: 0.9843 MB / 2.283 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/4.68, allocations: 3.906 kB / 2.283 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001831/4.681, allocations: 1.125 MB / 2.284 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/4.681, allocations: 13.98 kB / 2.284 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/4.681, allocations: 12.16 kB / 2.284 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/4.681, allocations: 15.47 kB / 2.284 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/4.682, allocations: 229.2 kB / 2.284 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/4.682, allocations: 23.97 kB / 2.284 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/4.684, allocations: 235.9 kB / 2.285 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/4.684, allocations: 45.81 kB / 2.285 GB, free: 115.7 MB / 0.9792 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 (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.0007712/4.685, allocations: 430.5 kB / 2.285 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/4.685, allocations: 195.1 kB / 2.285 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/4.686, allocations: 0.9193 MB / 2.286 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/4.686, allocations: 15.44 kB / 2.286 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/4.686, allocations: 3.562 kB / 2.286 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/4.687, allocations: 0.8469 MB / 2.287 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/4.691, allocations: 2.498 MB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/4.691, allocations: 7.531 kB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/4.692, allocations: 179.7 kB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/4.692, allocations: 7.156 kB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/4.692, allocations: 20.38 kB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/4.692, allocations: 7.344 kB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/4.692, allocations: 3.906 kB / 2.29 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/4.694, allocations: 1.44 MB / 2.291 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/4.695, allocations: 390.3 kB / 2.292 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/4.695, allocations: 22.44 kB / 2.292 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/4.696, allocations: 131.7 kB / 2.292 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/4.696, allocations: 48.2 kB / 2.292 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/4.696, allocations: 42.53 kB / 2.292 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001456/4.698, allocations: 1.182 MB / 2.293 GB, free: 114 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.81e-07/4.698, allocations: 0 / 2.293 GB, free: 114 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001883/4.699, allocations: 0.6837 MB / 2.294 GB, free: 113.9 MB / 0.9792 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.001347/4.701, allocations: 0.945 MB / 2.294 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001385/4.702, allocations: 0.7924 MB / 2.295 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/4.702, allocations: 0 / 2.295 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/4.703, allocations: 386.4 kB / 2.296 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/4.709, allocations: 1.25 MB / 2.297 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/4.713, allocations: 3.697 MB / 2.3 GB, free: 112 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/4.714, allocations: 1.408 MB / 2.302 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001848/4.716, allocations: 383.1 kB / 2.302 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/4.716, allocations: 147.5 kB / 2.302 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.132e-06/4.716, allocations: 0 / 2.302 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.06472/4.781, allocations: 44.36 MB / 2.346 GB, free: 103.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)