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.751/1.751, allocations: 289.7 MB / 302.3 MB, free: 2.121 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.001161/0.001161, allocations: 182.8 kB / 371.6 MB, free: 3.367 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.918/1.918, allocations: 205.1 MB / 0.6309 GB, free: 11.72 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.001004/0.001004, allocations: 90.05 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.95e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.366/6.647, allocations: 2.345 GB / 3.325 GB, free: 206.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/6.647, allocations: 95.42 kB / 3.325 GB, free: 206.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.445/11.09, allocations: 1.237 GB / 4.562 GB, free: 46.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.424e-06/11.09, allocations: 0 / 4.562 GB, free: 46.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005094/11.09, allocations: 93.77 kB / 4.562 GB, free: 46.18 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.008898/11.1, allocations: 3.619 MB / 4.566 GB, free: 42.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/11.1, allocations: 12.03 kB / 4.566 GB, free: 42.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/11.1, allocations: 0.5323 MB / 4.566 GB, free: 41.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/11.11, allocations: 3.397 MB / 4.569 GB, free: 38.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/11.11, allocations: 160 kB / 4.57 GB, free: 38.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007123/11.11, allocations: 219.8 kB / 4.57 GB, free: 38.17 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005737/11.12, allocations: 2.524 MB / 4.572 GB, free: 35.56 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.188e-05/11.12, allocations: 352 / 4.572 GB, free: 35.56 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/11.12, allocations: 94.92 kB / 4.572 GB, free: 35.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/11.12, allocations: 75.81 kB / 4.572 GB, free: 35.39 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/11.12, allocations: 1.921 MB / 4.574 GB, free: 33.47 MB / 0.9636 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.01736/11.14, allocations: 10.5 MB / 4.585 GB, free: 22.71 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/11.14, allocations: 1.469 MB / 4.586 GB, free: 21.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/11.14, allocations: 0.9867 MB / 4.587 GB, free: 20.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/11.15, allocations: 1.184 MB / 4.588 GB, free: 18.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/11.15, allocations: 47.44 kB / 4.588 GB, free: 18.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 6.833e-06/11.15, allocations: 0 / 4.588 GB, free: 18.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.01087/11.16, allocations: 5.33 MB / 4.593 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/11.16, allocations: 341.7 kB / 4.594 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00596/11.16, allocations: 3.043 MB / 4.597 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/11.16, allocations: 61.7 kB / 4.597 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/11.16, allocations: 1.475 MB / 4.598 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/11.17, allocations: 451.3 kB / 4.599 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/11.17, allocations: 32 kB / 4.599 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001012/11.17, allocations: 365.9 kB / 4.599 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/11.17, allocations: 1.043 MB / 4.6 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/11.17, allocations: 1.479 MB / 4.601 GB, free: 4.766 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.006284/11.17, allocations: 4.192 MB / 4.605 GB, free: 428 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/11.17, allocations: 4 kB / 4.605 GB, free: 424 kB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005468/11.18, allocations: 3.264 MB / 4.609 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001411/11.18, allocations: 2.94 MB / 4.612 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/11.18, allocations: 4 kB / 4.612 GB, free: 9.852 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/11.18, allocations: 157.6 kB / 4.612 GB, free: 9.691 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/11.18, allocations: 267.6 kB / 4.612 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/11.18, allocations: 1.29 MB / 4.613 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/11.19, allocations: 211.6 kB / 4.613 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/11.19, allocations: 83.98 kB / 4.614 GB, free: 7.801 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/11.19, allocations: 4 kB / 4.614 GB, free: 7.797 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004871/11.19, allocations: 3.341 MB / 4.617 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/11.19, allocations: 8.094 kB / 4.617 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/11.19, allocations: 157.6 kB / 4.617 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/11.19, allocations: 259.6 kB / 4.617 GB, free: 3.957 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/11.19, allocations: 1.296 MB / 4.618 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/11.2, allocations: 207.6 kB / 4.619 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/11.2, allocations: 83.97 kB / 4.619 GB, free: 2.328 MB / 0.9792 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 () * 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.000746/11.2, allocations: 383.1 kB / 4.619 GB, free: 1.91 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/11.2, allocations: 331.9 kB / 4.619 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/11.21, allocations: 2.473 MB / 4.622 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/11.21, allocations: 15.95 kB / 4.622 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/11.21, allocations: 0 / 4.622 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/11.21, allocations: 2.225 MB / 4.624 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/11.22, allocations: 5.909 MB / 4.63 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/11.22, allocations: 7.953 kB / 4.63 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/11.22, allocations: 263.6 kB / 4.63 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.636e-05/11.22, allocations: 8.375 kB / 4.63 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/11.22, allocations: 43.98 kB / 4.63 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/11.22, allocations: 12 kB / 4.63 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/11.22, allocations: 7.938 kB / 4.63 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/11.23, allocations: 4.584 MB / 4.635 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/11.23, allocations: 0.7116 MB / 4.635 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/11.23, allocations: 47.8 kB / 4.635 GB, free: 0.7305 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/11.23, allocations: 171.7 kB / 4.635 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/11.23, allocations: 156.7 kB / 4.636 GB, free: 420 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/11.24, allocations: 71.03 kB / 4.636 GB, free: 352 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.7229/11.96, allocations: 2.354 MB / 4.638 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.81e-07/11.96, allocations: 0 / 4.638 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006137/11.96, allocations: 1.503 MB / 4.639 GB, free: 109.3 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.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * 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) * 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.004839/11.97, allocations: 2.86 MB / 4.642 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007019/11.98, allocations: 5.611 MB / 4.648 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/11.98, allocations: 2.625 kB / 4.648 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002439/11.98, allocations: 1.869 MB / 4.65 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008058/11.99, allocations: 1.627 MB / 4.651 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/12, allocations: 5.269 MB / 4.656 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/12, allocations: 2.164 MB / 4.658 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005079/12.01, allocations: 1.059 MB / 4.659 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/12.01, allocations: 154.6 kB / 4.66 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/12.01, allocations: 4.125 kB / 4.66 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.1654/12.17, allocations: 101 MB / 4.758 GB, free: 99.51 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)