Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 293 MB / 309 MB, free: 4.828 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.001018/0.001018, allocations: 180.5 kB / 378.7 MB, free: 1.039 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.512/1.512, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0007206/0.0007207, allocations: 90.77 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003771, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 116.4 MB / 0.9905 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.111/5.323, allocations: 2.345 GB / 3.336 GB, free: 235.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.324, allocations: 103.5 kB / 3.336 GB, free: 235.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.293/9.617, allocations: 1.226 GB / 4.562 GB, free: 64.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.537e-06/9.617, allocations: 3.984 kB / 4.562 GB, free: 64.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000446/9.617, allocations: 85.28 kB / 4.562 GB, free: 64.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01107/9.628, allocations: 4.273 MB / 4.566 GB, free: 60.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/9.628, allocations: 11.44 kB / 4.566 GB, free: 60.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/9.631, allocations: 0.5365 MB / 4.567 GB, free: 60.71 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009098/9.64, allocations: 3.504 MB / 4.57 GB, free: 58.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/9.641, allocations: 167.6 kB / 4.57 GB, free: 58.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009735/9.642, allocations: 221.9 kB / 4.571 GB, free: 58.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006885/9.648, allocations: 2.601 MB / 4.573 GB, free: 56.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.283e-05/9.649, allocations: 9.188 kB / 4.573 GB, free: 56.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005094/9.649, allocations: 85.69 kB / 4.573 GB, free: 56.42 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/9.649, allocations: 72.2 kB / 4.573 GB, free: 56.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/9.653, allocations: 2.027 MB / 4.575 GB, free: 55.39 MB / 0.9636 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.01811/9.672, allocations: 10.45 MB / 4.586 GB, free: 46.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/9.674, allocations: 1.552 MB / 4.587 GB, free: 44.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/9.675, allocations: 1.032 MB / 4.588 GB, free: 43.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008704/9.676, allocations: 1.18 MB / 4.589 GB, free: 42.25 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/9.676, allocations: 59.58 kB / 4.589 GB, free: 42.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 3.606e-06/9.676, allocations: 3 kB / 4.589 GB, free: 42.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.01167/9.688, allocations: 6.303 MB / 4.595 GB, free: 35.72 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/9.688, allocations: 342.8 kB / 4.596 GB, free: 35.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007219/9.696, allocations: 3.401 MB / 4.599 GB, free: 31.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005319/9.696, allocations: 63.55 kB / 4.599 GB, free: 31.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/9.698, allocations: 1.464 MB / 4.601 GB, free: 30.39 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/9.698, allocations: 461.2 kB / 4.601 GB, free: 29.94 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/9.699, allocations: 32 kB / 4.601 GB, free: 29.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001549/9.699, allocations: 375.7 kB / 4.601 GB, free: 29.54 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/9.701, allocations: 1.075 MB / 4.602 GB, free: 28.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/9.702, allocations: 1.526 MB / 4.604 GB, free: 26.79 MB / 0.9636 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008759/9.711, allocations: 5.826 MB / 4.61 GB, free: 20.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/9.711, allocations: 4 kB / 4.61 GB, free: 20.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005801/9.717, allocations: 3.333 MB / 4.613 GB, free: 17.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004461/9.718, allocations: 0.6421 MB / 4.614 GB, free: 16.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/9.718, allocations: 4 kB / 4.614 GB, free: 16.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/9.718, allocations: 153.6 kB / 4.614 GB, free: 16.31 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/9.719, allocations: 263.6 kB / 4.614 GB, free: 16.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/9.72, allocations: 1.289 MB / 4.615 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/9.724, allocations: 203.7 kB / 4.615 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/9.725, allocations: 79.97 kB / 4.615 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/9.725, allocations: 5.406 kB / 4.615 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004816/9.73, allocations: 3.422 MB / 4.619 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/9.73, allocations: 4 kB / 4.619 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/9.73, allocations: 158 kB / 4.619 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/9.731, allocations: 255.6 kB / 4.619 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008588/9.732, allocations: 1.299 MB / 4.621 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/9.735, allocations: 199.1 kB / 4.621 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/9.735, allocations: 87.97 kB / 4.621 GB, free: 8.887 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002475/9.738, allocations: 1.114 MB / 4.622 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/9.739, allocations: 324 kB / 4.622 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/9.743, allocations: 2.549 MB / 4.625 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/9.743, allocations: 15.98 kB / 4.625 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/9.743, allocations: 7.938 kB / 4.625 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/9.746, allocations: 2.303 MB / 4.627 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/9.759, allocations: 5.959 MB / 4.633 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/9.759, allocations: 4 kB / 4.633 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/9.76, allocations: 264.4 kB / 4.633 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/9.76, allocations: 8 kB / 4.633 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/9.76, allocations: 43.98 kB / 4.633 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.005e-05/9.76, allocations: 15.94 kB / 4.633 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/9.76, allocations: 4 kB / 4.633 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006716/9.767, allocations: 4.12 MB / 4.637 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/9.77, allocations: 0.6999 MB / 4.638 GB, free: 7.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/9.771, allocations: 47.75 kB / 4.638 GB, free: 6.977 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/9.774, allocations: 163.7 kB / 4.638 GB, free: 6.816 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/9.774, allocations: 164.7 kB / 4.638 GB, free: 6.656 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/9.774, allocations: 59.97 kB / 4.638 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006718/9.781, allocations: 2.354 MB / 4.64 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.9e-07/9.781, allocations: 0 / 4.64 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009016/9.79, allocations: 1.47 MB / 4.642 GB, free: 2.789 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.006299/9.796, allocations: 2.844 MB / 4.645 GB, free: 136 kB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009377/9.806, allocations: 5.609 MB / 4.65 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/9.806, allocations: 4 kB / 4.65 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002952/9.809, allocations: 1.908 MB / 4.652 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/9.822, allocations: 1.644 MB / 4.654 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6369/10.46, allocations: 7.369 MB / 4.661 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/10.46, allocations: 2.084 MB / 4.663 GB, free: 111 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003649/10.47, allocations: 0.6335 MB / 4.664 GB, free: 111 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/10.47, allocations: 215.1 kB / 4.664 GB, free: 111 MB / 0.9948 GB Notification: Performance of SimCode: time 9.32e-07/10.47, allocations: 0 / 4.664 GB, free: 111 MB / 0.9948 GB Notification: Performance of Templates: time 0.1667/10.63, allocations: 91.09 MB / 4.753 GB, free: 106.8 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)