Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.49/2.49, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.001343/0.001343, allocations: 182.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009187/0.0009183, allocations: 86.36 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004855, allocations: 16.53 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.364/7.57, allocations: 2.344 GB / 3.323 GB, free: 338.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/7.57, allocations: 108.8 kB / 3.323 GB, free: 338.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.905/13.48, allocations: 1.226 GB / 4.55 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.466e-06/13.48, allocations: 0 / 4.55 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006615/13.48, allocations: 93.06 kB / 4.55 GB, free: 106.5 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.01399/13.49, allocations: 4.28 MB / 4.554 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/13.49, allocations: 11.03 kB / 4.554 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/13.49, allocations: 0.5285 MB / 4.554 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/13.5, allocations: 3.502 MB / 4.558 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/13.51, allocations: 164.2 kB / 4.558 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000647/13.51, allocations: 228.2 kB / 4.558 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007151/13.51, allocations: 2.598 MB / 4.561 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.711e-05/13.51, allocations: 5.25 kB / 4.561 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/13.51, allocations: 87.44 kB / 4.561 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/13.51, allocations: 73.42 kB / 4.561 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006912/13.52, allocations: 2.021 MB / 4.563 GB, free: 103.1 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.02414/13.54, allocations: 10.45 MB / 4.573 GB, free: 99.69 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/13.55, allocations: 1.635 MB / 4.575 GB, free: 99.56 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/13.55, allocations: 1.041 MB / 4.576 GB, free: 99.55 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/13.55, allocations: 1.182 MB / 4.577 GB, free: 98.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/13.55, allocations: 51.41 kB / 4.577 GB, free: 98.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=128): time 4.759e-06/13.55, allocations: 0 / 4.577 GB, free: 98.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136): time 0.01831/13.57, allocations: 6.349 MB / 4.583 GB, free: 96.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/13.57, allocations: 347.8 kB / 4.583 GB, free: 96.28 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008275/13.58, allocations: 3.386 MB / 4.587 GB, free: 96.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006123/13.58, allocations: 61.17 kB / 4.587 GB, free: 96 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/13.58, allocations: 1.472 MB / 4.588 GB, free: 95.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008616/13.58, allocations: 464.4 kB / 4.589 GB, free: 94.99 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/13.58, allocations: 27.06 kB / 4.589 GB, free: 94.97 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001393/13.58, allocations: 370.4 kB / 4.589 GB, free: 94.64 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/13.59, allocations: 1.077 MB / 4.59 GB, free: 94.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/13.59, allocations: 1.531 MB / 4.592 GB, free: 93.32 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.0148/13.6, allocations: 5.822 MB / 4.597 GB, free: 90.08 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/13.6, allocations: 7.594 kB / 4.597 GB, free: 90.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007823/13.61, allocations: 3.331 MB / 4.601 GB, free: 88.47 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004035/13.61, allocations: 0.6455 MB / 4.601 GB, free: 87.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/13.61, allocations: 10.97 kB / 4.601 GB, free: 87.74 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/13.61, allocations: 143.3 kB / 4.601 GB, free: 87.69 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/13.61, allocations: 267.6 kB / 4.602 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/13.62, allocations: 1.304 MB / 4.603 GB, free: 86.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/13.62, allocations: 194.3 kB / 4.603 GB, free: 86.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/13.62, allocations: 80.2 kB / 4.603 GB, free: 86.47 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/13.62, allocations: 3.312 kB / 4.603 GB, free: 86.47 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007136/13.63, allocations: 3.417 MB / 4.606 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/13.63, allocations: 4.594 kB / 4.607 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/13.63, allocations: 152.8 kB / 4.607 GB, free: 84.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/13.63, allocations: 262.9 kB / 4.607 GB, free: 84.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/13.63, allocations: 1.291 MB / 4.608 GB, free: 83.63 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/13.64, allocations: 201.6 kB / 4.608 GB, free: 83.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005705/13.64, allocations: 83.69 kB / 4.608 GB, free: 83.57 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.003001/13.64, allocations: 1.123 MB / 4.61 GB, free: 82.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/13.64, allocations: 326.8 kB / 4.61 GB, free: 82.63 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/13.65, allocations: 2.598 MB / 4.612 GB, free: 81.44 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/13.65, allocations: 10.66 kB / 4.612 GB, free: 81.44 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/13.65, allocations: 5.25 kB / 4.612 GB, free: 81.44 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004717/13.65, allocations: 2.307 MB / 4.615 GB, free: 80.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/13.67, allocations: 5.974 MB / 4.62 GB, free: 77.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/13.67, allocations: 7.938 kB / 4.62 GB, free: 77.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/13.67, allocations: 269.9 kB / 4.621 GB, free: 77.35 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/13.67, allocations: 16.5 kB / 4.621 GB, free: 77.35 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/13.67, allocations: 40.19 kB / 4.621 GB, free: 77.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/13.67, allocations: 20.45 kB / 4.621 GB, free: 77.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/13.67, allocations: 9.375 kB / 4.621 GB, free: 77.33 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008495/13.68, allocations: 4.129 MB / 4.625 GB, free: 75.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/13.68, allocations: 0.701 MB / 4.626 GB, free: 74.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/13.68, allocations: 44.11 kB / 4.626 GB, free: 74.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/13.69, allocations: 170.3 kB / 4.626 GB, free: 74.72 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/13.69, allocations: 160 kB / 4.626 GB, free: 74.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/13.69, allocations: 62.66 kB / 4.626 GB, free: 74.67 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006002/13.69, allocations: 2.347 MB / 4.628 GB, free: 73.75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.31e-07/13.69, allocations: 0 / 4.628 GB, free: 73.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00806/13.7, allocations: 1.463 MB / 4.63 GB, free: 73.49 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (133): * Single equations (assignments): 123 * 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.005816/13.71, allocations: 2.818 MB / 4.632 GB, free: 72.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01053/13.72, allocations: 5.614 MB / 4.638 GB, free: 69.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/13.72, allocations: 0 / 4.638 GB, free: 69.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/13.72, allocations: 1.942 MB / 4.64 GB, free: 68.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/13.74, allocations: 1.64 MB / 4.641 GB, free: 67.96 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/13.76, allocations: 7.376 MB / 4.649 GB, free: 64.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/13.76, allocations: 2.086 MB / 4.651 GB, free: 63.24 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005146/13.76, allocations: 0.6491 MB / 4.651 GB, free: 63.21 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/13.77, allocations: 215.8 kB / 4.651 GB, free: 63.19 MB / 0.9636 GB Notification: Performance of SimCode: time 1.113e-06/13.77, allocations: 0 / 4.651 GB, free: 63.19 MB / 0.9636 GB Notification: Performance of Templates: time 0.2055/13.97, allocations: 90.13 MB / 4.74 GB, free: 4.129 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)