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.661/1.661, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001084/0.001084, allocations: 186.3 kB / 371.8 MB, free: 10.3 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.429/1.429, allocations: 205.4 MB / 0.6306 GB, free: 9.969 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.0009486/0.0009486, allocations: 109.1 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 16.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.553/5.743, allocations: 2.344 GB / 3.324 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/5.743, allocations: 100.7 kB / 3.324 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.782/9.525, allocations: 1.24 GB / 4.564 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.164e-06/9.525, allocations: 1.906 kB / 4.564 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004109/9.526, allocations: 82.52 kB / 4.564 GB, free: 105.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.01035/9.536, allocations: 4.321 MB / 4.568 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/9.536, allocations: 7.875 kB / 4.568 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/9.539, allocations: 0.5348 MB / 4.568 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/9.546, allocations: 3.425 MB / 4.572 GB, free: 99.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/9.546, allocations: 166.7 kB / 4.572 GB, free: 99.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/9.546, allocations: 219.1 kB / 4.572 GB, free: 99.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/9.55, allocations: 2.577 MB / 4.575 GB, free: 97.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/9.55, allocations: 7.797 kB / 4.575 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/9.55, allocations: 84.5 kB / 4.575 GB, free: 97.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/9.55, allocations: 73.39 kB / 4.575 GB, free: 97.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/9.553, allocations: 2.026 MB / 4.577 GB, free: 96.87 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.013/9.566, allocations: 10.5 MB / 4.587 GB, free: 88.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/9.568, allocations: 1.542 MB / 4.589 GB, free: 87.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007743/9.569, allocations: 1.182 MB / 4.59 GB, free: 86.36 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/9.569, allocations: 54.47 kB / 4.59 GB, free: 86.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 2.935e-06/9.569, allocations: 0 / 4.59 GB, free: 86.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.009509/9.579, allocations: 6.794 MB / 4.596 GB, free: 81.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/9.579, allocations: 344.5 kB / 4.597 GB, free: 81.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/9.583, allocations: 3.088 MB / 4.6 GB, free: 79.97 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/9.583, allocations: 57.52 kB / 4.6 GB, free: 79.92 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/9.584, allocations: 1.477 MB / 4.601 GB, free: 78.63 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/9.585, allocations: 451.9 kB / 4.602 GB, free: 78.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/9.585, allocations: 35 kB / 4.602 GB, free: 78.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/9.585, allocations: 364.6 kB / 4.602 GB, free: 77.88 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/9.586, allocations: 1.077 MB / 4.603 GB, free: 77.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/9.588, allocations: 1.523 MB / 4.605 GB, free: 76.07 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.006299/9.594, allocations: 4.285 MB / 4.609 GB, free: 71.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/9.594, allocations: 4 kB / 4.609 GB, free: 71.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00429/9.598, allocations: 3.324 MB / 4.612 GB, free: 68.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005798/9.599, allocations: 2.935 MB / 4.615 GB, free: 65.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/9.599, allocations: 8 kB / 4.615 GB, free: 65.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/9.599, allocations: 143.4 kB / 4.615 GB, free: 64.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/9.6, allocations: 266.6 kB / 4.615 GB, free: 64.67 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/9.601, allocations: 1.296 MB / 4.617 GB, free: 63.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/9.604, allocations: 199.2 kB / 4.617 GB, free: 63.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/9.604, allocations: 83.97 kB / 4.617 GB, free: 63.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/9.604, allocations: 4 kB / 4.617 GB, free: 63.06 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003669/9.608, allocations: 3.413 MB / 4.62 GB, free: 59.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/9.608, allocations: 4 kB / 4.62 GB, free: 59.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/9.608, allocations: 156.7 kB / 4.62 GB, free: 59.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009201/9.609, allocations: 263.4 kB / 4.621 GB, free: 59.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/9.61, allocations: 1.284 MB / 4.622 GB, free: 57.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/9.613, allocations: 193.2 kB / 4.622 GB, free: 57.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/9.613, allocations: 87.97 kB / 4.622 GB, free: 57.56 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.002122/9.615, allocations: 1.118 MB / 4.623 GB, free: 56.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008058/9.616, allocations: 324 kB / 4.623 GB, free: 56.08 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/9.619, allocations: 2.548 MB / 4.626 GB, free: 53.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/9.619, allocations: 16 kB / 4.626 GB, free: 53.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/9.619, allocations: 0 / 4.626 GB, free: 53.48 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002317/9.622, allocations: 2.297 MB / 4.628 GB, free: 51.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008894/9.631, allocations: 5.992 MB / 4.634 GB, free: 44.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/9.631, allocations: 4 kB / 4.634 GB, free: 44.99 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/9.632, allocations: 270.3 kB / 4.634 GB, free: 44.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/9.632, allocations: 12 kB / 4.634 GB, free: 44.72 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/9.632, allocations: 39.98 kB / 4.634 GB, free: 44.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/9.632, allocations: 11.94 kB / 4.634 GB, free: 44.67 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/9.632, allocations: 13.61 kB / 4.634 GB, free: 44.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/9.637, allocations: 4.71 MB / 4.639 GB, free: 39.71 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/9.639, allocations: 0.7232 MB / 4.64 GB, free: 38.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/9.639, allocations: 43.95 kB / 4.64 GB, free: 38.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/9.641, allocations: 167.2 kB / 4.64 GB, free: 38.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/9.641, allocations: 163.7 kB / 4.64 GB, free: 38.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/9.641, allocations: 59.97 kB / 4.64 GB, free: 38.55 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003453/9.645, allocations: 2.393 MB / 4.642 GB, free: 36.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/9.645, allocations: 0 / 4.642 GB, free: 36.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004916/9.65, allocations: 1.507 MB / 4.644 GB, free: 34.67 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.003875/9.653, allocations: 2.871 MB / 4.647 GB, free: 32.08 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005638/9.659, allocations: 5.602 MB / 4.652 GB, free: 26.19 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/9.659, allocations: 3.938 kB / 4.652 GB, free: 26.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/9.661, allocations: 1.914 MB / 4.654 GB, free: 24.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007425/9.668, allocations: 1.622 MB / 4.656 GB, free: 22.64 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/9.679, allocations: 7.375 MB / 4.663 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/9.681, allocations: 2.149 MB / 4.665 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003247/9.684, allocations: 0.6451 MB / 4.666 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/9.685, allocations: 203.4 kB / 4.666 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/9.685, allocations: 0 / 4.666 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of Templates: time 0.674/10.36, allocations: 90.24 MB / 4.754 GB, free: 123.2 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)