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.627/1.627, allocations: 288.3 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.001602/0.001602, allocations: 170.4 kB / 371.8 MB, free: 10.28 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.528/1.528, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008866/0.0008866, allocations: 95.42 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 11.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.76/4.965, allocations: 2.086 GB / 3.066 GB, free: 185.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/4.965, allocations: 91.7 kB / 3.066 GB, free: 185.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.684/8.648, allocations: 1.038 GB / 4.103 GB, free: 156.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.302e-06/8.649, allocations: 0 / 4.103 GB, free: 156.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001747/8.649, allocations: 46.28 kB / 4.103 GB, free: 156.9 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.005899/8.655, allocations: 2.377 MB / 4.106 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/8.655, allocations: 12.22 kB / 4.106 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/8.659, allocations: 0.6282 MB / 4.106 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/8.663, allocations: 1.45 MB / 4.108 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/8.663, allocations: 155.4 kB / 4.108 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/8.663, allocations: 121 kB / 4.108 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/8.666, allocations: 1.464 MB / 4.109 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/8.666, allocations: 0 / 4.109 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/8.666, allocations: 50.06 kB / 4.109 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/8.666, allocations: 40.97 kB / 4.109 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/8.669, allocations: 1.252 MB / 4.111 GB, free: 155.1 MB / 0.948 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.009194/8.678, allocations: 5.882 MB / 4.116 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/8.68, allocations: 1.161 MB / 4.118 GB, free: 152.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/8.681, allocations: 313.1 kB / 4.118 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/8.682, allocations: 0.6343 MB / 4.118 GB, free: 152.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.696e-06/8.682, allocations: 0 / 4.118 GB, free: 152.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01121/8.693, allocations: 4.432 MB / 4.123 GB, free: 151 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/8.693, allocations: 190.1 kB / 4.123 GB, free: 150.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/8.695, allocations: 1.164 MB / 4.124 GB, free: 150.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/8.695, allocations: 48.3 kB / 4.124 GB, free: 150.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/8.696, allocations: 0.7219 MB / 4.125 GB, free: 150.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/8.696, allocations: 324.4 kB / 4.125 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/8.696, allocations: 16.94 kB / 4.125 GB, free: 150.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/8.696, allocations: 344.8 kB / 4.125 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009104/8.697, allocations: 482.2 kB / 4.126 GB, free: 149.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/8.698, allocations: 0.7158 MB / 4.127 GB, free: 149.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/8.709, allocations: 2.536 MB / 4.129 GB, free: 149.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/8.709, allocations: 0 / 4.129 GB, free: 149.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004755/8.714, allocations: 1.828 MB / 4.131 GB, free: 149.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000303/8.715, allocations: 1.3 MB / 4.132 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/8.715, allocations: 2.531 kB / 4.132 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/8.716, allocations: 457.6 kB / 4.133 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/8.716, allocations: 178.1 kB / 4.133 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007619/8.724, allocations: 7.2 MB / 4.14 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/8.726, allocations: 152.6 kB / 4.14 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/8.726, allocations: 42.55 kB / 4.14 GB, free: 143.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/8.726, allocations: 3.562 kB / 4.14 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004022/8.73, allocations: 1.668 MB / 4.142 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/8.73, allocations: 9.656 kB / 4.142 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/8.732, allocations: 453.2 kB / 4.142 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/8.732, allocations: 173.9 kB / 4.142 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/8.74, allocations: 8.215 MB / 4.15 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/8.743, allocations: 157.7 kB / 4.15 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/8.743, allocations: 35.66 kB / 4.15 GB, free: 137.5 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. 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 () * Number of clocked 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.0011/8.744, allocations: 0.5135 MB / 4.151 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/8.744, allocations: 169.8 kB / 4.151 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/8.748, allocations: 1.667 MB / 4.153 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/8.748, allocations: 7.562 kB / 4.153 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/8.748, allocations: 7.031 kB / 4.153 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00339/8.752, allocations: 1.54 MB / 4.154 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/8.759, allocations: 3.541 MB / 4.158 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/8.76, allocations: 5.75 kB / 4.158 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/8.76, allocations: 193.8 kB / 4.158 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/8.761, allocations: 238.5 kB / 4.158 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/8.761, allocations: 30.48 kB / 4.158 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/8.765, allocations: 2.714 MB / 4.161 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/8.765, allocations: 6.375 kB / 4.161 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/8.77, allocations: 2.712 MB / 4.163 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/8.771, allocations: 361.8 kB / 4.164 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/8.771, allocations: 26.75 kB / 4.164 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/8.773, allocations: 139.2 kB / 4.164 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/8.773, allocations: 67.47 kB / 4.164 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/8.773, allocations: 42.97 kB / 4.164 GB, free: 130.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0015/8.774, allocations: 0.9145 MB / 4.165 GB, free: 130 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/8.774, allocations: 0 / 4.165 GB, free: 130 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004534/8.779, allocations: 1.023 MB / 4.166 GB, free: 129.8 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.00422/8.783, allocations: 2.369 MB / 4.168 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004963/8.788, allocations: 2.955 MB / 4.171 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/8.788, allocations: 0 / 4.171 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/8.789, allocations: 0.8113 MB / 4.172 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/8.794, allocations: 0.8762 MB / 4.173 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/8.8, allocations: 3.949 MB / 4.177 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/8.801, allocations: 1.386 MB / 4.178 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001832/8.803, allocations: 344.6 kB / 4.178 GB, free: 123.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/8.803, allocations: 112.7 kB / 4.178 GB, free: 123.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/8.803, allocations: 0 / 4.178 GB, free: 123.5 MB / 0.948 GB Notification: Performance of Templates: time 0.085/8.888, allocations: 62.08 MB / 4.239 GB, free: 76.24 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)