Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008834/0.0008835, allocations: 178.6 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 0.5785 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008404/0.0008403, allocations: 87.48 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 13.69 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.158/4.325, allocations: 2.461 GB / 3.362 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/4.326, allocations: 108.8 kB / 3.362 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.531/7.856, allocations: 1.195 GB / 4.557 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.593e-06/7.856, allocations: 0 / 4.557 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004688/7.857, allocations: 83.89 kB / 4.557 GB, free: 100.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.009958/7.867, allocations: 4.285 MB / 4.561 GB, free: 98.35 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/7.867, allocations: 9.344 kB / 4.561 GB, free: 98.35 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/7.87, allocations: 0.5368 MB / 4.562 GB, free: 98.14 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007483/7.877, allocations: 3.501 MB / 4.565 GB, free: 97.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/7.878, allocations: 164.6 kB / 4.566 GB, free: 97.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/7.878, allocations: 224.8 kB / 4.566 GB, free: 97.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/7.882, allocations: 2.598 MB / 4.568 GB, free: 97.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/7.882, allocations: 4.594 kB / 4.568 GB, free: 97.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/7.882, allocations: 92 kB / 4.568 GB, free: 97.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/7.882, allocations: 79.44 kB / 4.568 GB, free: 97.09 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/7.885, allocations: 2.022 MB / 4.57 GB, free: 97.07 MB / 0.9167 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.01311/7.898, allocations: 10.45 MB / 4.581 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/7.9, allocations: 1.545 MB / 4.582 GB, free: 93.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/7.901, allocations: 1.025 MB / 4.583 GB, free: 93.63 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006777/7.902, allocations: 1.181 MB / 4.584 GB, free: 92.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/7.902, allocations: 50.69 kB / 4.584 GB, free: 92.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 3.487e-06/7.902, allocations: 0 / 4.584 GB, free: 92.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=134): time 0.008708/7.91, allocations: 6.302 MB / 4.591 GB, free: 90.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/7.911, allocations: 348.5 kB / 4.591 GB, free: 90.37 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/7.915, allocations: 3.413 MB / 4.594 GB, free: 90.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/7.915, allocations: 60.83 kB / 4.594 GB, free: 90.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/7.916, allocations: 1.464 MB / 4.596 GB, free: 89.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/7.916, allocations: 464.6 kB / 4.596 GB, free: 89.44 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/7.916, allocations: 28.25 kB / 4.596 GB, free: 89.44 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/7.916, allocations: 367.3 kB / 4.596 GB, free: 89.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/7.917, allocations: 1.08 MB / 4.598 GB, free: 89.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/7.919, allocations: 1.526 MB / 4.599 GB, free: 88.7 MB / 0.9167 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.006975/7.926, allocations: 5.813 MB / 4.605 GB, free: 87.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/7.926, allocations: 5.312 kB / 4.605 GB, free: 87.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003889/7.93, allocations: 3.334 MB / 4.608 GB, free: 86.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/7.93, allocations: 0.638 MB / 4.609 GB, free: 85.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/7.93, allocations: 5.656 kB / 4.609 GB, free: 85.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/7.93, allocations: 153.3 kB / 4.609 GB, free: 85.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008746/7.931, allocations: 264.5 kB / 4.609 GB, free: 85.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006698/7.932, allocations: 1.291 MB / 4.61 GB, free: 84.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/7.934, allocations: 198.2 kB / 4.61 GB, free: 84.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/7.934, allocations: 91.58 kB / 4.611 GB, free: 84.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/7.934, allocations: 3.938 kB / 4.611 GB, free: 84.74 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003489/7.938, allocations: 3.423 MB / 4.614 GB, free: 84.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/7.938, allocations: 7.75 kB / 4.614 GB, free: 84.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/7.938, allocations: 141.8 kB / 4.614 GB, free: 84.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/7.939, allocations: 265.1 kB / 4.614 GB, free: 84.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005904/7.94, allocations: 1.292 MB / 4.616 GB, free: 83.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/7.942, allocations: 199.2 kB / 4.616 GB, free: 83.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/7.942, allocations: 79.48 kB / 4.616 GB, free: 83.23 MB / 0.9167 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.0018/7.944, allocations: 1.116 MB / 4.617 GB, free: 82.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/7.944, allocations: 328.4 kB / 4.617 GB, free: 82.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/7.948, allocations: 2.544 MB / 4.62 GB, free: 82.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/7.948, allocations: 18.56 kB / 4.62 GB, free: 82.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/7.948, allocations: 0 / 4.62 GB, free: 82.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/7.95, allocations: 2.303 MB / 4.622 GB, free: 81.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/7.957, allocations: 5.957 MB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/7.957, allocations: 3.688 kB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009517/7.958, allocations: 263.2 kB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/7.958, allocations: 13.53 kB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/7.959, allocations: 43.16 kB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/7.959, allocations: 11 kB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/7.959, allocations: 9.625 kB / 4.628 GB, free: 81.15 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/7.963, allocations: 4.111 MB / 4.632 GB, free: 80.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/7.964, allocations: 0.7017 MB / 4.633 GB, free: 80.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/7.965, allocations: 44.61 kB / 4.633 GB, free: 80.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/7.966, allocations: 166.7 kB / 4.633 GB, free: 80.13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/7.966, allocations: 166.4 kB / 4.633 GB, free: 80.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/7.966, allocations: 59.27 kB / 4.633 GB, free: 80.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002904/7.969, allocations: 2.357 MB / 4.636 GB, free: 79.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.969, allocations: 0 / 4.636 GB, free: 79.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003495/7.973, allocations: 1.479 MB / 4.637 GB, free: 79.92 MB / 0.9167 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.003248/7.976, allocations: 2.83 MB / 4.64 GB, free: 78.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005141/7.981, allocations: 5.602 MB / 4.645 GB, free: 77.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/7.981, allocations: 7 kB / 4.645 GB, free: 77.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/7.983, allocations: 1.908 MB / 4.647 GB, free: 77.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008744/7.992, allocations: 1.641 MB / 4.649 GB, free: 77.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/8.001, allocations: 7.399 MB / 4.656 GB, free: 74.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/8.002, allocations: 2.085 MB / 4.658 GB, free: 73.38 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002645/8.005, allocations: 0.6465 MB / 4.659 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/8.005, allocations: 209.3 kB / 4.659 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of SimCode: time 1.243e-06/8.005, allocations: 0 / 4.659 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.1132/8.118, allocations: 91.1 MB / 4.748 GB, free: 64.68 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)