Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004208/0.004213, allocations: 232 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001154/0.001154, allocations: 177.5 kB / 16.71 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.859/3.859, allocations: 389 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.891/3.891, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005101, allocations: 18.73 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 98.71 MB / 1.105 GB, free: 80.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.656/6.832, allocations: 2.19 GB / 3.294 GB, free: 41.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/6.833, allocations: 102.9 kB / 3.295 GB, free: 41.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.639/12.47, allocations: 0.9949 GB / 4.289 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/12.47, allocations: 0 / 4.289 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003148/12.47, allocations: 49.09 kB / 4.29 GB, free: 118.2 MB / 0.8386 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.009056/12.48, allocations: 2.377 MB / 4.292 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/12.48, allocations: 7.75 kB / 4.292 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/12.49, allocations: 0.6144 MB / 4.292 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005795/12.49, allocations: 1.455 MB / 4.294 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007183/12.49, allocations: 154.5 kB / 4.294 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005959/12.49, allocations: 127.2 kB / 4.294 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/12.5, allocations: 1.476 MB / 4.296 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/12.5, allocations: 7.594 kB / 4.296 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/12.5, allocations: 49.38 kB / 4.296 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.243e-05/12.5, allocations: 42.08 kB / 4.296 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/12.51, allocations: 1.257 MB / 4.297 GB, free: 116.8 MB / 0.8386 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.01516/12.52, allocations: 5.874 MB / 4.303 GB, free: 114.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/12.52, allocations: 1.161 MB / 4.304 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/12.53, allocations: 0.5654 MB / 4.304 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/12.53, allocations: 311.1 kB / 4.305 GB, free: 114 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002262/12.53, allocations: 0.6385 MB / 4.305 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 4.368e-06/12.53, allocations: 2.75 kB / 4.305 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=95): time 0.02112/12.55, allocations: 4.377 MB / 4.31 GB, free: 112.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/12.55, allocations: 195.5 kB / 4.31 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/12.55, allocations: 1.338 MB / 4.311 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003633/12.55, allocations: 50.03 kB / 4.311 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008006/12.56, allocations: 0.7331 MB / 4.312 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/12.56, allocations: 317.1 kB / 4.312 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/12.56, allocations: 23.34 kB / 4.312 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/12.56, allocations: 337.5 kB / 4.312 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/12.56, allocations: 478.1 kB / 4.313 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/12.56, allocations: 0.7107 MB / 4.314 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02067/12.58, allocations: 2.545 MB / 4.316 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/12.58, allocations: 0 / 4.316 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008222/12.59, allocations: 1.798 MB / 4.318 GB, free: 111.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/12.59, allocations: 216.6 kB / 4.318 GB, free: 111 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/12.59, allocations: 3.281 kB / 4.318 GB, free: 111 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/12.59, allocations: 472.3 kB / 4.318 GB, free: 111 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/12.59, allocations: 177.3 kB / 4.319 GB, free: 111 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/12.61, allocations: 7.136 MB / 4.326 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/12.61, allocations: 151.9 kB / 4.326 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/12.61, allocations: 41.27 kB / 4.326 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/12.61, allocations: 7.219 kB / 4.326 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006817/12.62, allocations: 1.554 MB / 4.327 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/12.62, allocations: 11.38 kB / 4.327 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/12.62, allocations: 446.3 kB / 4.328 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/12.62, allocations: 160.4 kB / 4.328 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/12.63, allocations: 8.117 MB / 4.336 GB, free: 101.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/12.64, allocations: 146.9 kB / 4.336 GB, free: 101.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/12.64, allocations: 35.81 kB / 4.336 GB, free: 101.1 MB / 0.8386 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 (85): * Single equations (assignments): 80 * 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.001409/12.64, allocations: 0.5099 MB / 4.337 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/12.64, allocations: 167.6 kB / 4.337 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007028/12.65, allocations: 1.637 MB / 4.338 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/12.65, allocations: 8.625 kB / 4.338 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/12.65, allocations: 1.062 kB / 4.338 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006798/12.65, allocations: 1.483 MB / 4.34 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/12.67, allocations: 3.5 MB / 4.343 GB, free: 99.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/12.67, allocations: 6.734 kB / 4.343 GB, free: 99.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/12.67, allocations: 189.5 kB / 4.343 GB, free: 99.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/12.67, allocations: 234.1 kB / 4.344 GB, free: 99.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/12.67, allocations: 31.83 kB / 4.344 GB, free: 99.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/12.67, allocations: 2.654 MB / 4.346 GB, free: 98.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/12.67, allocations: 12.14 kB / 4.346 GB, free: 98.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009411/12.68, allocations: 2.395 MB / 4.349 GB, free: 97.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/12.69, allocations: 368.9 kB / 4.349 GB, free: 97.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/12.69, allocations: 31.33 kB / 4.349 GB, free: 97.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/12.69, allocations: 139.9 kB / 4.349 GB, free: 97.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/12.69, allocations: 72.05 kB / 4.349 GB, free: 97.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/12.69, allocations: 35.73 kB / 4.349 GB, free: 97.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002489/12.69, allocations: 0.9151 MB / 4.35 GB, free: 97.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.81e-07/12.69, allocations: 1 kB / 4.35 GB, free: 97.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006066/12.7, allocations: 0.9618 MB / 4.351 GB, free: 97.34 MB / 0.8386 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 (81): * Single equations (assignments): 78 * 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.004827/12.7, allocations: 2.331 MB / 4.353 GB, free: 96.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01057/12.71, allocations: 3.085 MB / 4.356 GB, free: 95.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/12.71, allocations: 3.625 kB / 4.356 GB, free: 95.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/12.72, allocations: 0.8 MB / 4.357 GB, free: 95.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008393/12.73, allocations: 0.8719 MB / 4.358 GB, free: 95.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/12.74, allocations: 3.94 MB / 4.362 GB, free: 93.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/12.74, allocations: 1.395 MB / 4.363 GB, free: 93.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002921/12.74, allocations: 335.4 kB / 4.363 GB, free: 92.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000722/12.74, allocations: 109.4 kB / 4.364 GB, free: 92.98 MB / 0.8386 GB Notification: Performance of SimCode: time 1.333e-06/12.74, allocations: 3.188 kB / 4.364 GB, free: 92.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.1425/12.89, allocations: 60.75 MB / 4.423 GB, free: 91 MB / 0.8386 GB