Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.0009294/0.0009294, allocations: 180.5 kB / 372.9 MB, free: 10.16 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.415/1.415, allocations: 205.4 MB / 0.6317 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008023/0.0008027, allocations: 100.5 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 16.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.368, allocations: 2.344 GB / 3.325 GB, free: 337.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/5.368, allocations: 105.3 kB / 3.325 GB, free: 337.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.75/9.118, allocations: 1.226 GB / 4.551 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/9.118, allocations: 0 / 4.551 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003859/9.119, allocations: 86.83 kB / 4.551 GB, free: 106.3 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.009629/9.128, allocations: 4.285 MB / 4.556 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/9.128, allocations: 10.97 kB / 4.556 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/9.131, allocations: 0.537 MB / 4.556 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006743/9.138, allocations: 3.496 MB / 4.56 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/9.138, allocations: 170.4 kB / 4.56 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004497/9.138, allocations: 222.1 kB / 4.56 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/9.143, allocations: 2.597 MB / 4.562 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/9.143, allocations: 10.09 kB / 4.563 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/9.143, allocations: 87.09 kB / 4.563 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/9.143, allocations: 76.75 kB / 4.563 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/9.146, allocations: 2.022 MB / 4.565 GB, free: 102.8 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.01355/9.16, allocations: 10.45 MB / 4.575 GB, free: 99.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/9.162, allocations: 1.557 MB / 4.576 GB, free: 99.41 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/9.163, allocations: 1.028 MB / 4.577 GB, free: 99.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/9.164, allocations: 1.185 MB / 4.579 GB, free: 98.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/9.164, allocations: 53.25 kB / 4.579 GB, free: 98.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 4.428e-06/9.164, allocations: 0 / 4.579 GB, free: 98.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.0104/9.174, allocations: 6.312 MB / 4.585 GB, free: 96.51 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/9.174, allocations: 343.8 kB / 4.585 GB, free: 96.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/9.179, allocations: 3.408 MB / 4.588 GB, free: 95.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004579/9.18, allocations: 60.42 kB / 4.588 GB, free: 95.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/9.181, allocations: 1.468 MB / 4.59 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/9.182, allocations: 467.7 kB / 4.59 GB, free: 93.56 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/9.182, allocations: 29.69 kB / 4.59 GB, free: 93.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/9.182, allocations: 365 kB / 4.591 GB, free: 93.21 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/9.183, allocations: 1.083 MB / 4.592 GB, free: 92.79 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/9.185, allocations: 1.534 MB / 4.593 GB, free: 91.89 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.008436/9.194, allocations: 5.827 MB / 4.599 GB, free: 88.64 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/9.194, allocations: 0 / 4.599 GB, free: 88.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004865/9.198, allocations: 3.335 MB / 4.602 GB, free: 87.04 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003068/9.199, allocations: 0.6388 MB / 4.603 GB, free: 86.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/9.199, allocations: 12.5 kB / 4.603 GB, free: 86.31 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/9.199, allocations: 150.7 kB / 4.603 GB, free: 86.26 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/9.2, allocations: 261.1 kB / 4.603 GB, free: 86.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008066/9.201, allocations: 1.296 MB / 4.605 GB, free: 85.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/9.204, allocations: 190 kB / 4.605 GB, free: 85.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/9.204, allocations: 84.16 kB / 4.605 GB, free: 85.04 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/9.204, allocations: 3.656 kB / 4.605 GB, free: 85.04 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00406/9.208, allocations: 3.419 MB / 4.608 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/9.208, allocations: 7.875 kB / 4.608 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/9.209, allocations: 149.3 kB / 4.608 GB, free: 83.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/9.21, allocations: 266.1 kB / 4.609 GB, free: 83.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006841/9.211, allocations: 1.292 MB / 4.61 GB, free: 82.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/9.213, allocations: 196 kB / 4.61 GB, free: 82.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/9.214, allocations: 82.48 kB / 4.61 GB, free: 82.15 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.002339/9.216, allocations: 1.118 MB / 4.611 GB, free: 81.38 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009432/9.217, allocations: 326.3 kB / 4.611 GB, free: 81.21 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/9.221, allocations: 2.55 MB / 4.614 GB, free: 80.03 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/9.221, allocations: 14.34 kB / 4.614 GB, free: 80.03 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/9.221, allocations: 3.938 kB / 4.614 GB, free: 80.02 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002542/9.223, allocations: 2.305 MB / 4.616 GB, free: 78.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/9.234, allocations: 5.97 MB / 4.622 GB, free: 75.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/9.234, allocations: 3.906 kB / 4.622 GB, free: 75.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/9.235, allocations: 261.5 kB / 4.622 GB, free: 75.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/9.235, allocations: 11.72 kB / 4.622 GB, free: 75.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/9.235, allocations: 46.23 kB / 4.622 GB, free: 75.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/9.235, allocations: 18.3 kB / 4.622 GB, free: 75.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/9.235, allocations: 3.656 kB / 4.622 GB, free: 75.88 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005056/9.24, allocations: 4.109 MB / 4.626 GB, free: 73.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/9.242, allocations: 0.7091 MB / 4.627 GB, free: 73.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007059/9.243, allocations: 41.69 kB / 4.627 GB, free: 73.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/9.244, allocations: 164.2 kB / 4.627 GB, free: 73.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/9.245, allocations: 163.7 kB / 4.627 GB, free: 73.24 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/9.245, allocations: 54.94 kB / 4.627 GB, free: 73.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004025/9.249, allocations: 2.356 MB / 4.63 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-07/9.249, allocations: 1.938 kB / 4.63 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006851/9.256, allocations: 1.477 MB / 4.631 GB, free: 72.04 MB / 0.9636 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.004773/9.261, allocations: 2.832 MB / 4.634 GB, free: 70.97 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006535/9.267, allocations: 5.606 MB / 4.639 GB, free: 67.82 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/9.267, allocations: 3.688 kB / 4.639 GB, free: 67.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/9.269, allocations: 1.919 MB / 4.641 GB, free: 66.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/9.28, allocations: 1.636 MB / 4.643 GB, free: 66.46 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/9.291, allocations: 7.374 MB / 4.65 GB, free: 62.67 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/9.293, allocations: 2.088 MB / 4.652 GB, free: 61.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003233/9.296, allocations: 0.6443 MB / 4.653 GB, free: 61.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/9.297, allocations: 205.9 kB / 4.653 GB, free: 61.65 MB / 0.9636 GB Notification: Performance of SimCode: time 9.32e-07/9.297, allocations: 2.625 kB / 4.653 GB, free: 61.65 MB / 0.9636 GB Notification: Performance of Templates: time 0.1233/9.42, allocations: 91.11 MB / 4.742 GB, free: 13.29 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)