Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001318/0.001318, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.756/1.756, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0009158/0.0009164, allocations: 96.98 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.834e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.802, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.147/5.949, allocations: 2.085 GB / 3.05 GB, free: 75.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/5.95, allocations: 92.47 kB / 3.05 GB, free: 75.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.762/9.711, allocations: 1.025 GB / 4.075 GB, free: 139.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/9.711, allocations: 0 / 4.075 GB, free: 139.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002915/9.712, allocations: 51.61 kB / 4.075 GB, free: 139.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.007319/9.719, allocations: 2.061 MB / 4.077 GB, free: 137.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/9.719, allocations: 12.03 kB / 4.077 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/9.724, allocations: 0.622 MB / 4.078 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/9.728, allocations: 1.441 MB / 4.079 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004012/9.729, allocations: 110.2 kB / 4.079 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/9.729, allocations: 75.91 kB / 4.08 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001846/9.731, allocations: 0.9886 MB / 4.081 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/9.733, allocations: 1.189 MB / 4.082 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/9.733, allocations: 3.938 kB / 4.082 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/9.733, allocations: 4 kB / 4.082 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/9.733, allocations: 38.22 kB / 4.082 GB, free: 133 MB / 0.948 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.008397/9.742, allocations: 5.622 MB / 4.087 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/9.742, allocations: 0.9438 MB / 4.088 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/9.743, allocations: 464.7 kB / 4.089 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/9.743, allocations: 311.5 kB / 4.089 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006247/9.744, allocations: 0.5091 MB / 4.089 GB, free: 124.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 2.866e-06/9.744, allocations: 0 / 4.089 GB, free: 124.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.006656/9.751, allocations: 2.997 MB / 4.092 GB, free: 121.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/9.751, allocations: 192.7 kB / 4.092 GB, free: 121.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/9.752, allocations: 0.9094 MB / 4.093 GB, free: 120.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/9.752, allocations: 25.7 kB / 4.093 GB, free: 120.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/9.753, allocations: 0.7359 MB / 4.094 GB, free: 119.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/9.753, allocations: 311.4 kB / 4.094 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/9.753, allocations: 0 / 4.094 GB, free: 119.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/9.753, allocations: 341.9 kB / 4.095 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/9.753, allocations: 370.5 kB / 4.095 GB, free: 118.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/9.754, allocations: 0.5917 MB / 4.096 GB, free: 118.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/9.757, allocations: 1.35 MB / 4.097 GB, free: 116.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/9.757, allocations: 3.953 kB / 4.097 GB, free: 116.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00329/9.761, allocations: 1.601 MB / 4.099 GB, free: 115.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/9.761, allocations: 1.292 MB / 4.1 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/9.761, allocations: 4 kB / 4.1 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008675/9.762, allocations: 409.1 kB / 4.1 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/9.762, allocations: 179.7 kB / 4.1 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/9.768, allocations: 6.532 MB / 4.107 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/9.769, allocations: 119.8 kB / 4.107 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/9.77, allocations: 39.98 kB / 4.107 GB, free: 106.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/9.77, allocations: 4.781 kB / 4.107 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003068/9.773, allocations: 1.436 MB / 4.108 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/9.773, allocations: 0.5625 kB / 4.108 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008373/9.774, allocations: 421.6 kB / 4.109 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/9.774, allocations: 171.8 kB / 4.109 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/9.78, allocations: 7.466 MB / 4.116 GB, free: 96.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/9.782, allocations: 119.9 kB / 4.116 GB, free: 96.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/9.782, allocations: 39.98 kB / 4.116 GB, free: 96.06 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003244/9.782, allocations: 167.3 kB / 4.116 GB, free: 95.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/9.782, allocations: 154.1 kB / 4.117 GB, free: 95.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/9.785, allocations: 1.394 MB / 4.118 GB, free: 94.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/9.785, allocations: 11.94 kB / 4.118 GB, free: 94.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/9.786, allocations: 0 / 4.118 GB, free: 94.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/9.788, allocations: 1.277 MB / 4.119 GB, free: 93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/9.793, allocations: 3.143 MB / 4.122 GB, free: 89.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/9.793, allocations: 4 kB / 4.122 GB, free: 89.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/9.794, allocations: 196.2 kB / 4.123 GB, free: 89.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/9.794, allocations: 197.5 kB / 4.123 GB, free: 89.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/9.794, allocations: 16 kB / 4.123 GB, free: 89.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/9.797, allocations: 2.433 MB / 4.125 GB, free: 86.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/9.797, allocations: 7.938 kB / 4.125 GB, free: 86.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/9.8, allocations: 2.324 MB / 4.127 GB, free: 84.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/9.801, allocations: 339.2 kB / 4.128 GB, free: 83.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/9.801, allocations: 19.98 kB / 4.128 GB, free: 83.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/9.802, allocations: 123.8 kB / 4.128 GB, free: 83.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/9.802, allocations: 75.88 kB / 4.128 GB, free: 83.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/9.802, allocations: 39.98 kB / 4.128 GB, free: 83.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008659/9.803, allocations: 0.6912 MB / 4.129 GB, free: 82.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/9.803, allocations: 4 kB / 4.129 GB, free: 82.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003763/9.807, allocations: 0.9706 MB / 4.13 GB, free: 82 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003332/9.81, allocations: 2.624 MB / 4.132 GB, free: 79.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002988/9.813, allocations: 2.566 MB / 4.135 GB, free: 76.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/9.813, allocations: 0 / 4.135 GB, free: 76.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/9.814, allocations: 0.6728 MB / 4.135 GB, free: 76.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/9.818, allocations: 0.7312 MB / 4.136 GB, free: 75.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/9.822, allocations: 2.536 MB / 4.138 GB, free: 72.87 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/9.823, allocations: 1.386 MB / 4.14 GB, free: 71.46 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0019/9.825, allocations: 423.4 kB / 4.14 GB, free: 71.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/9.825, allocations: 87.41 kB / 4.14 GB, free: 70.95 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/9.825, allocations: 0 / 4.14 GB, free: 70.95 MB / 0.948 GB Notification: Performance of Templates: time 0.06433/9.89, allocations: 46.56 MB / 4.186 GB, free: 24.68 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)