Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, allocations: 252.6 MB / 265.2 MB, free: 5.695 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 183.9 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 97.7 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.772e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2216, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.102/7.323, allocations: 2.204 GB / 3.099 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/7.324, allocations: 90.39 kB / 3.099 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.159/12.48, allocations: 1.006 GB / 4.105 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/12.48, allocations: 0 / 4.105 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003116/12.48, allocations: 47.98 kB / 4.105 GB, free: 118.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007012/12.49, allocations: 2.069 MB / 4.107 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/12.49, allocations: 8.031 kB / 4.107 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006192/12.5, allocations: 0.622 MB / 4.108 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005506/12.5, allocations: 1.435 MB / 4.109 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/12.5, allocations: 158.2 kB / 4.11 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/12.5, allocations: 127.9 kB / 4.11 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/12.51, allocations: 1.364 MB / 4.111 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/12.51, allocations: 0 / 4.111 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/12.51, allocations: 51.17 kB / 4.111 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.328e-05/12.51, allocations: 42.19 kB / 4.111 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/12.51, allocations: 1.055 MB / 4.112 GB, free: 110.9 MB / 0.8855 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.01366/12.52, allocations: 5.886 MB / 4.118 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/12.53, allocations: 0.9677 MB / 4.119 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/12.53, allocations: 479.1 kB / 4.119 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007777/12.53, allocations: 316 kB / 4.12 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/12.53, allocations: 0.5341 MB / 4.12 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 4.048e-06/12.53, allocations: 0 / 4.12 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01055/12.54, allocations: 3.03 MB / 4.123 GB, free: 99.24 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/12.54, allocations: 204.6 kB / 4.123 GB, free: 99 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/12.54, allocations: 1.142 MB / 4.124 GB, free: 97.85 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003121/12.54, allocations: 49.7 kB / 4.124 GB, free: 97.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/12.54, allocations: 0.7254 MB / 4.125 GB, free: 97.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/12.54, allocations: 323.3 kB / 4.126 GB, free: 96.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/12.54, allocations: 19.61 kB / 4.126 GB, free: 96.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/12.54, allocations: 345.9 kB / 4.126 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009391/12.55, allocations: 385.9 kB / 4.126 GB, free: 96.01 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/12.55, allocations: 0.6049 MB / 4.127 GB, free: 95.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0231/12.57, allocations: 2.357 MB / 4.129 GB, free: 92.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/12.57, allocations: 0 / 4.129 GB, free: 92.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006538/12.58, allocations: 1.651 MB / 4.131 GB, free: 91.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003227/12.58, allocations: 1.297 MB / 4.132 GB, free: 89.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/12.58, allocations: 4 kB / 4.132 GB, free: 89.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/12.58, allocations: 422.6 kB / 4.132 GB, free: 89.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/12.58, allocations: 179.7 kB / 4.133 GB, free: 89.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009882/12.59, allocations: 6.854 MB / 4.139 GB, free: 81.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/12.59, allocations: 151.8 kB / 4.139 GB, free: 81.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/12.59, allocations: 36 kB / 4.139 GB, free: 81.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/12.59, allocations: 4 kB / 4.139 GB, free: 81.79 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005673/12.6, allocations: 1.499 MB / 4.141 GB, free: 80.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/12.6, allocations: 8 kB / 4.141 GB, free: 80.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/12.6, allocations: 411.3 kB / 4.141 GB, free: 79.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/12.6, allocations: 183.7 kB / 4.141 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/12.61, allocations: 7.853 MB / 4.149 GB, free: 71.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/12.62, allocations: 147.7 kB / 4.149 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/12.62, allocations: 39.98 kB / 4.149 GB, free: 71.09 MB / 0.8855 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.0004405/12.62, allocations: 197.5 kB / 4.15 GB, free: 70.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/12.62, allocations: 162 kB / 4.15 GB, free: 70.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/12.62, allocations: 1.453 MB / 4.151 GB, free: 69.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/12.62, allocations: 8 kB / 4.151 GB, free: 69.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/12.62, allocations: 15.61 kB / 4.151 GB, free: 69.24 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004649/12.63, allocations: 1.307 MB / 4.152 GB, free: 67.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009917/12.64, allocations: 3.338 MB / 4.156 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/12.64, allocations: 4.5 kB / 4.156 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/12.64, allocations: 187.8 kB / 4.156 GB, free: 64.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007403/12.64, allocations: 205 kB / 4.156 GB, free: 64.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/12.64, allocations: 27.98 kB / 4.156 GB, free: 64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/12.64, allocations: 2.477 MB / 4.158 GB, free: 61.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/12.64, allocations: 7.938 kB / 4.158 GB, free: 61.36 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006543/12.65, allocations: 2.41 MB / 4.161 GB, free: 58.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/12.65, allocations: 366.9 kB / 4.161 GB, free: 58.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/12.65, allocations: 27.98 kB / 4.161 GB, free: 58.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/12.65, allocations: 143.7 kB / 4.161 GB, free: 58.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/12.65, allocations: 68.59 kB / 4.161 GB, free: 58.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/12.65, allocations: 39.98 kB / 4.161 GB, free: 58.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001903/12.66, allocations: 0.8976 MB / 4.162 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/12.66, allocations: 0 / 4.162 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005022/12.66, allocations: 0.9919 MB / 4.163 GB, free: 56.21 MB / 0.8855 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.004375/12.67, allocations: 2.369 MB / 4.166 GB, free: 53.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006709/12.67, allocations: 2.692 MB / 4.168 GB, free: 50.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/12.67, allocations: 4 kB / 4.168 GB, free: 50.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/12.67, allocations: 0.7102 MB / 4.169 GB, free: 50.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/12.68, allocations: 0.8749 MB / 4.17 GB, free: 49.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/12.69, allocations: 2.615 MB / 4.172 GB, free: 46.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/12.69, allocations: 1.394 MB / 4.174 GB, free: 45.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003454/12.69, allocations: 496.6 kB / 4.174 GB, free: 44.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/12.69, allocations: 87.42 kB / 4.174 GB, free: 44.66 MB / 0.8855 GB Notification: Performance of SimCode: time 1.884e-06/12.69, allocations: 4 kB / 4.174 GB, free: 44.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.8382/13.53, allocations: 70.61 MB / 4.243 GB, free: 159.8 MB / 0.9011 GB