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.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.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.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001139/0.001139, allocations: 188.8 kB / 377.1 MB, free: 1.484 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.611/1.611, allocations: 205.4 MB / 0.6367 GB, free: 9.535 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: 92.53 kB / 0.751 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003624, allocations: 12 kB / 0.8748 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2359, allocations: 116.3 MB / 0.9884 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.988/6.224, allocations: 2.345 GB / 3.333 GB, free: 238.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/6.224, allocations: 104.1 kB / 3.333 GB, free: 238.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.791/11.02, allocations: 1.24 GB / 4.573 GB, free: 59.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.415e-06/11.02, allocations: 0 / 4.573 GB, free: 59.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005572/11.02, allocations: 88.81 kB / 4.574 GB, free: 59.58 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.01156/11.03, allocations: 4.32 MB / 4.578 GB, free: 56.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/11.03, allocations: 9.406 kB / 4.578 GB, free: 56.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/11.03, allocations: 0.5351 MB / 4.578 GB, free: 56.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009537/11.04, allocations: 3.415 MB / 4.582 GB, free: 53.69 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/11.04, allocations: 167.1 kB / 4.582 GB, free: 53.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009389/11.04, allocations: 223.9 kB / 4.582 GB, free: 53.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007725/11.05, allocations: 2.578 MB / 4.585 GB, free: 50.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.772e-05/11.05, allocations: 10.12 kB / 4.585 GB, free: 50.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006382/11.05, allocations: 84 kB / 4.585 GB, free: 50.56 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.34e-05/11.05, allocations: 75.89 kB / 4.585 GB, free: 50.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/11.05, allocations: 2.026 MB / 4.587 GB, free: 48.46 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.01455/11.07, allocations: 10.49 MB / 4.597 GB, free: 37.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/11.07, allocations: 1.552 MB / 4.598 GB, free: 36.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/11.07, allocations: 1.181 MB / 4.6 GB, free: 34.74 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/11.07, allocations: 53.06 kB / 4.6 GB, free: 34.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 4.359e-06/11.07, allocations: 2.406 kB / 4.6 GB, free: 34.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.009996/11.08, allocations: 6.798 MB / 4.606 GB, free: 27.63 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/11.08, allocations: 341.7 kB / 4.607 GB, free: 27.22 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/11.09, allocations: 3.083 MB / 4.61 GB, free: 24.15 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/11.09, allocations: 64.77 kB / 4.61 GB, free: 24.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/11.09, allocations: 1.474 MB / 4.611 GB, free: 22.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/11.09, allocations: 465.1 kB / 4.612 GB, free: 22.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/11.09, allocations: 28 kB / 4.612 GB, free: 22.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/11.09, allocations: 361.9 kB / 4.612 GB, free: 21.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/11.09, allocations: 1.081 MB / 4.613 GB, free: 20.69 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/11.09, allocations: 1.53 MB / 4.614 GB, free: 19.01 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006427/11.1, allocations: 4.264 MB / 4.619 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/11.1, allocations: 0 / 4.619 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005021/11.1, allocations: 3.33 MB / 4.622 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006876/11.1, allocations: 2.94 MB / 4.625 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/11.1, allocations: 4 kB / 4.625 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/11.1, allocations: 153.6 kB / 4.625 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/11.1, allocations: 259.6 kB / 4.625 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007188/11.11, allocations: 1.295 MB / 4.626 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/11.11, allocations: 199.7 kB / 4.627 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/11.11, allocations: 79.97 kB / 4.627 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/11.11, allocations: 5.875 kB / 4.627 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003648/11.11, allocations: 3.415 MB / 4.63 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/11.11, allocations: 8 kB / 4.63 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/11.11, allocations: 149.6 kB / 4.63 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/11.11, allocations: 264.1 kB / 4.63 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006716/11.11, allocations: 1.296 MB / 4.632 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/11.12, allocations: 199.7 kB / 4.632 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/11.12, allocations: 79.98 kB / 4.632 GB, free: 420 kB / 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.002464/11.12, allocations: 1.118 MB / 4.633 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009098/11.12, allocations: 331.9 kB / 4.633 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/11.13, allocations: 2.542 MB / 4.636 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/11.13, allocations: 12 kB / 4.636 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/11.13, allocations: 0 / 4.636 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/11.13, allocations: 2.303 MB / 4.638 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/11.14, allocations: 5.991 MB / 4.644 GB, free: 3.809 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/11.14, allocations: 4 kB / 4.644 GB, free: 3.805 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/11.14, allocations: 263.6 kB / 4.644 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/11.14, allocations: 12 kB / 4.644 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/11.14, allocations: 44.33 kB / 4.644 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/11.14, allocations: 23.92 kB / 4.644 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/11.14, allocations: 7.938 kB / 4.644 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/11.15, allocations: 4.705 MB / 4.649 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002825/11.15, allocations: 0.7117 MB / 4.65 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006831/11.15, allocations: 47.98 kB / 4.65 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/11.15, allocations: 167.6 kB / 4.65 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003829/11.15, allocations: 160.7 kB / 4.65 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/11.15, allocations: 59.97 kB / 4.65 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005418/11.16, allocations: 2.393 MB / 4.652 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.81e-07/11.16, allocations: 4 kB / 4.652 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007544/11.17, allocations: 1.507 MB / 4.654 GB, free: 9.445 MB / 0.9948 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.005282/11.17, allocations: 2.858 MB / 4.657 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009162/11.18, allocations: 5.61 MB / 4.662 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/11.18, allocations: 4 kB / 4.662 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.6239/11.81, allocations: 1.905 MB / 4.664 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/11.82, allocations: 1.617 MB / 4.666 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/11.84, allocations: 7.374 MB / 4.673 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/11.84, allocations: 2.148 MB / 4.675 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005392/11.84, allocations: 0.6419 MB / 4.675 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/11.85, allocations: 208.7 kB / 4.676 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.433e-06/11.85, allocations: 0 / 4.676 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.212/12.06, allocations: 90.25 MB / 4.764 GB, free: 104.7 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)