Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.00131/0.001311, allocations: 184.2 kB / 371.6 MB, free: 3.367 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.92/1.92, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.00105/0.00105, allocations: 91.23 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.902e-05/4.905e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3222, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.521/6.843, allocations: 2.087 GB / 3.067 GB, free: 108.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/6.843, allocations: 90.98 kB / 3.067 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.111/10.95, allocations: 1.036 GB / 4.103 GB, free: 121.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.907e-06/10.95, allocations: 3.719 kB / 4.103 GB, free: 121.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002293/10.95, allocations: 50.95 kB / 4.103 GB, free: 121.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.006587/10.96, allocations: 2.063 MB / 4.105 GB, free: 120.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/10.96, allocations: 7.281 kB / 4.105 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/10.97, allocations: 0.6294 MB / 4.106 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/10.97, allocations: 1.437 MB / 4.107 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/10.97, allocations: 156.8 kB / 4.108 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/10.97, allocations: 117.3 kB / 4.108 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/10.97, allocations: 1.353 MB / 4.109 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/10.97, allocations: 4 kB / 4.109 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/10.97, allocations: 51.62 kB / 4.109 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/10.97, allocations: 36.97 kB / 4.109 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/10.97, allocations: 1.046 MB / 4.11 GB, free: 118.4 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.007777/10.98, allocations: 5.888 MB / 4.116 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/10.98, allocations: 0.9807 MB / 4.117 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/10.98, allocations: 489.7 kB / 4.117 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/10.98, allocations: 313.2 kB / 4.118 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007472/10.98, allocations: 0.5309 MB / 4.118 GB, free: 113.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.827e-06/10.98, allocations: 0 / 4.118 GB, free: 113.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.006631/10.99, allocations: 3.05 MB / 4.121 GB, free: 111.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/10.99, allocations: 196.2 kB / 4.121 GB, free: 111.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/10.99, allocations: 1.145 MB / 4.122 GB, free: 111.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/10.99, allocations: 46.23 kB / 4.122 GB, free: 111.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/10.99, allocations: 0.7228 MB / 4.123 GB, free: 110.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/10.99, allocations: 330.3 kB / 4.123 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/10.99, allocations: 19.22 kB / 4.123 GB, free: 110.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/10.99, allocations: 348.7 kB / 4.124 GB, free: 110 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/10.99, allocations: 385.5 kB / 4.124 GB, free: 109.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/11, allocations: 0.6065 MB / 4.125 GB, free: 109.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/11, allocations: 2.363 MB / 4.127 GB, free: 108.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/11, allocations: 0 / 4.127 GB, free: 108.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003712/11.01, allocations: 1.656 MB / 4.129 GB, free: 108.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/11.01, allocations: 1.299 MB / 4.13 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/11.01, allocations: 3.688 kB / 4.13 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009815/11.01, allocations: 425.9 kB / 4.13 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/11.01, allocations: 172.3 kB / 4.13 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005973/11.02, allocations: 6.897 MB / 4.137 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/11.02, allocations: 138.6 kB / 4.137 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/11.02, allocations: 45.86 kB / 4.137 GB, free: 100.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/11.02, allocations: 6.219 kB / 4.137 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/11.02, allocations: 1.504 MB / 4.139 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/11.02, allocations: 3.844 kB / 4.139 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000936/11.02, allocations: 413.5 kB / 4.139 GB, free: 99.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/11.02, allocations: 170 kB / 4.139 GB, free: 99.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006749/11.03, allocations: 7.898 MB / 4.147 GB, free: 92.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/11.03, allocations: 146 kB / 4.147 GB, free: 92.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/11.03, allocations: 40.64 kB / 4.147 GB, free: 92.01 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 () * 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.000319/11.03, allocations: 199.3 kB / 4.148 GB, free: 91.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/11.03, allocations: 175.6 kB / 4.148 GB, free: 91.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/11.04, allocations: 1.46 MB / 4.149 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/11.04, allocations: 6.531 kB / 4.149 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/11.04, allocations: 0 / 4.149 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002413/11.04, allocations: 1.316 MB / 4.15 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005844/11.04, allocations: 3.338 MB / 4.154 GB, free: 87.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/11.04, allocations: 4 kB / 4.154 GB, free: 87.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/11.04, allocations: 192.2 kB / 4.154 GB, free: 86.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/11.05, allocations: 204.7 kB / 4.154 GB, free: 86.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/11.05, allocations: 35.92 kB / 4.154 GB, free: 86.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/11.05, allocations: 2.485 MB / 4.156 GB, free: 84.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/11.05, allocations: 7.938 kB / 4.157 GB, free: 84.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/11.05, allocations: 2.409 MB / 4.159 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/11.05, allocations: 359 kB / 4.159 GB, free: 81.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/11.05, allocations: 31.98 kB / 4.159 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/11.05, allocations: 143.8 kB / 4.159 GB, free: 80.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/11.05, allocations: 68.59 kB / 4.159 GB, free: 80.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/11.05, allocations: 43.88 kB / 4.159 GB, free: 80.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00124/11.06, allocations: 0.8895 MB / 4.16 GB, free: 79.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/11.06, allocations: 0 / 4.16 GB, free: 79.97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003605/11.06, allocations: 1.027 MB / 4.161 GB, free: 78.95 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.003325/11.06, allocations: 2.369 MB / 4.164 GB, free: 76.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003641/11.07, allocations: 2.703 MB / 4.166 GB, free: 73.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/11.07, allocations: 4 kB / 4.166 GB, free: 73.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/11.07, allocations: 0.7023 MB / 4.167 GB, free: 72.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/11.07, allocations: 0.874 MB / 4.168 GB, free: 72.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/11.08, allocations: 2.615 MB / 4.17 GB, free: 69.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009424/11.08, allocations: 1.39 MB / 4.172 GB, free: 67.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002354/11.08, allocations: 487.8 kB / 4.172 GB, free: 67.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/11.08, allocations: 91.42 kB / 4.172 GB, free: 67.44 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/11.08, allocations: 0 / 4.172 GB, free: 67.44 MB / 0.948 GB Notification: Performance of Templates: time 0.08577/11.17, allocations: 70.66 MB / 4.241 GB, free: 13.02 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)