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.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001078/0.001078, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.653/1.653, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0009254/0.0009255, allocations: 90.14 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.421e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7007, allocations: 116.3 MB / 0.9732 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.298/5.999, allocations: 2.344 GB / 3.318 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/5.999, allocations: 99.94 kB / 3.318 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.136/10.13, allocations: 1.228 GB / 4.546 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.004e-06/10.13, allocations: 0 / 4.546 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003405/10.13, allocations: 103.1 kB / 4.546 GB, free: 3.84 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.007009/10.14, allocations: 3.607 MB / 4.549 GB, free: 112 kB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/10.14, allocations: 12.03 kB / 4.549 GB, free: 100 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/10.14, allocations: 0.5418 MB / 4.55 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007395/10.15, allocations: 3.387 MB / 4.553 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/10.15, allocations: 71.31 kB / 4.553 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/10.15, allocations: 136 kB / 4.553 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003338/10.16, allocations: 1.808 MB / 4.555 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004212/10.16, allocations: 2.232 MB / 4.557 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/10.16, allocations: 3.938 kB / 4.557 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/10.16, allocations: 4 kB / 4.557 GB, free: 7.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/10.16, allocations: 71.89 kB / 4.557 GB, free: 7.77 MB / 0.9792 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.6767/10.84, allocations: 10.06 MB / 4.567 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/10.84, allocations: 1.417 MB / 4.569 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/10.84, allocations: 0.9435 MB / 4.57 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/10.84, allocations: 1.181 MB / 4.571 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/10.84, allocations: 54.39 kB / 4.571 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 3.326e-06/10.84, allocations: 2.531 kB / 4.571 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=134): time 0.01054/10.85, allocations: 4.644 MB / 4.575 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/10.85, allocations: 339.8 kB / 4.576 GB, free: 102 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/10.86, allocations: 2.618 MB / 4.578 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003696/10.86, allocations: 32.23 kB / 4.578 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/10.86, allocations: 1.495 MB / 4.58 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/10.86, allocations: 439 kB / 4.58 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/10.86, allocations: 4.969 kB / 4.58 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001164/10.86, allocations: 369.9 kB / 4.58 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/10.86, allocations: 1.011 MB / 4.581 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/10.86, allocations: 1.44 MB / 4.583 GB, free: 100.5 MB / 0.9792 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.006181/10.87, allocations: 3.723 MB / 4.586 GB, free: 100 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/10.87, allocations: 3.5 kB / 4.586 GB, free: 100 MB / 0.9792 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004838/10.87, allocations: 2.789 MB / 4.589 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000634/10.87, allocations: 2.896 MB / 4.592 GB, free: 96.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/10.87, allocations: 3.719 kB / 4.592 GB, free: 96.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/10.87, allocations: 141.3 kB / 4.592 GB, free: 96.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/10.88, allocations: 260.1 kB / 4.592 GB, free: 96.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00082/10.88, allocations: 1.309 MB / 4.594 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/10.88, allocations: 180.2 kB / 4.594 GB, free: 95.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/10.88, allocations: 80.19 kB / 4.594 GB, free: 95.66 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/10.88, allocations: 3.875 kB / 4.594 GB, free: 95.66 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003852/10.88, allocations: 2.711 MB / 4.597 GB, free: 95.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/10.88, allocations: 6.906 kB / 4.597 GB, free: 95.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/10.88, allocations: 135.9 kB / 4.597 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/10.88, allocations: 261.8 kB / 4.597 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007756/10.89, allocations: 1.299 MB / 4.598 GB, free: 94.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/10.89, allocations: 169.2 kB / 4.598 GB, free: 94.54 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/10.89, allocations: 86.08 kB / 4.598 GB, free: 94.54 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.000602/10.89, allocations: 333.1 kB / 4.599 GB, free: 94.25 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/10.89, allocations: 309.6 kB / 4.599 GB, free: 94.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/10.89, allocations: 2.161 MB / 4.601 GB, free: 93.98 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/10.89, allocations: 15.06 kB / 4.601 GB, free: 93.98 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/10.89, allocations: 0 / 4.601 GB, free: 93.98 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002375/10.9, allocations: 1.961 MB / 4.603 GB, free: 93.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009795/10.91, allocations: 5.368 MB / 4.608 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/10.91, allocations: 9.281 kB / 4.608 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/10.91, allocations: 260.7 kB / 4.609 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/10.91, allocations: 11.78 kB / 4.609 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/10.91, allocations: 30.23 kB / 4.609 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/10.91, allocations: 12.53 kB / 4.609 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/10.91, allocations: 7.094 kB / 4.609 GB, free: 93.16 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/10.91, allocations: 4.173 MB / 4.613 GB, free: 91.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/10.91, allocations: 0.6805 MB / 4.613 GB, free: 91.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/10.92, allocations: 26.56 kB / 4.613 GB, free: 91.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/10.92, allocations: 143.9 kB / 4.614 GB, free: 91.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/10.92, allocations: 161.3 kB / 4.614 GB, free: 91.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/10.92, allocations: 59.42 kB / 4.614 GB, free: 91.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00333/10.92, allocations: 1.983 MB / 4.616 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/10.92, allocations: 0 / 4.616 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005519/10.93, allocations: 1.378 MB / 4.617 GB, free: 91.59 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.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.004788/10.93, allocations: 2.93 MB / 4.62 GB, free: 90.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006976/10.94, allocations: 5.455 MB / 4.625 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/10.94, allocations: 2.406 kB / 4.625 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/10.94, allocations: 1.841 MB / 4.627 GB, free: 88.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007482/10.95, allocations: 1.414 MB / 4.628 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/10.96, allocations: 5.142 MB / 4.633 GB, free: 87.54 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/10.96, allocations: 2.16 MB / 4.636 GB, free: 86.8 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004734/10.96, allocations: 0.9827 MB / 4.637 GB, free: 86.76 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/10.97, allocations: 149.7 kB / 4.637 GB, free: 86.76 MB / 0.9792 GB Notification: Performance of SimCode: time 9.52e-07/10.97, allocations: 0 / 4.637 GB, free: 86.76 MB / 0.9792 GB Notification: Performance of Templates: time 0.1139/11.08, allocations: 72.92 MB / 4.708 GB, free: 82.62 MB / 0.9792 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)