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.009248/0.009248, allocations: 109.8 kB / 15.05 MB, free: 5.965 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.001182/0.001182, allocations: 181.3 kB / 15.94 MB, free: 5.93 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 1.895/1.895, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.202/2.202, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004722, allocations: 16 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5815, allocations: 98.71 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.729/6.311, allocations: 2.19 GB / 2.873 GB, free: 212.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/6.311, allocations: 95.89 kB / 2.873 GB, free: 212.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.483/10.79, allocations: 1.007 GB / 3.881 GB, free: 130.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.511e-06/10.79, allocations: 0 / 3.881 GB, free: 130.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002567/10.79, allocations: 51.47 kB / 3.881 GB, free: 130.5 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.006562/10.8, allocations: 2.378 MB / 3.883 GB, free: 129.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/10.8, allocations: 7.5 kB / 3.883 GB, free: 129.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/10.81, allocations: 0.6149 MB / 3.884 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/10.81, allocations: 1.46 MB / 3.885 GB, free: 128.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000421/10.81, allocations: 162.1 kB / 3.885 GB, free: 128.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/10.81, allocations: 126 kB / 3.885 GB, free: 128.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/10.82, allocations: 1.468 MB / 3.887 GB, free: 127.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/10.82, allocations: 3.516 kB / 3.887 GB, free: 127.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/10.82, allocations: 49.44 kB / 3.887 GB, free: 127.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/10.82, allocations: 41.31 kB / 3.887 GB, free: 127.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004224/10.82, allocations: 1.249 MB / 3.888 GB, free: 127 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.01222/10.83, allocations: 5.886 MB / 3.894 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/10.83, allocations: 1.167 MB / 3.895 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/10.84, allocations: 315.8 kB / 3.895 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/10.84, allocations: 0.628 MB / 3.896 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 5.574e-06/10.84, allocations: 0 / 3.896 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=95): time 0.01522/10.85, allocations: 4.426 MB / 3.9 GB, free: 120.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/10.85, allocations: 192.1 kB / 3.9 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/10.85, allocations: 1.159 MB / 3.902 GB, free: 119.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/10.86, allocations: 51.84 kB / 3.902 GB, free: 119.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/10.86, allocations: 0.7325 MB / 3.902 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/10.86, allocations: 321.4 kB / 3.903 GB, free: 118.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/10.86, allocations: 19.88 kB / 3.903 GB, free: 118.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/10.86, allocations: 347 kB / 3.903 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/10.86, allocations: 479.4 kB / 3.903 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/10.86, allocations: 0.7063 MB / 3.904 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/10.87, allocations: 2.525 MB / 3.907 GB, free: 116.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.107e-06/10.87, allocations: 3.688 kB / 3.907 GB, free: 116.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006222/10.88, allocations: 1.777 MB / 3.908 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003105/10.88, allocations: 1.3 MB / 3.91 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/10.88, allocations: 3.719 kB / 3.91 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/10.88, allocations: 451.7 kB / 3.91 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/10.88, allocations: 175.5 kB / 3.91 GB, free: 114 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/10.89, allocations: 7.268 MB / 3.917 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/10.9, allocations: 152.6 kB / 3.917 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/10.9, allocations: 43.17 kB / 3.917 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/10.9, allocations: 5.219 kB / 3.917 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004838/10.9, allocations: 1.563 MB / 3.919 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/10.9, allocations: 3.875 kB / 3.919 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/10.9, allocations: 453.7 kB / 3.919 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/10.9, allocations: 156.2 kB / 3.92 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/10.92, allocations: 8.292 MB / 3.928 GB, free: 97.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/10.92, allocations: 139.8 kB / 3.928 GB, free: 97.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/10.92, allocations: 43.98 kB / 3.928 GB, free: 97.65 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.0013/10.92, allocations: 0.5007 MB / 3.928 GB, free: 97.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/10.92, allocations: 166 kB / 3.929 GB, free: 96.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/10.92, allocations: 1.626 MB / 3.93 GB, free: 95.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/10.92, allocations: 11.95 kB / 3.93 GB, free: 95.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.654e-06/10.92, allocations: 4 kB / 3.93 GB, free: 95.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004443/10.93, allocations: 1.487 MB / 3.932 GB, free: 93.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009206/10.94, allocations: 3.483 MB / 3.935 GB, free: 90.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/10.94, allocations: 5.859 kB / 3.935 GB, free: 90.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/10.94, allocations: 195.8 kB / 3.935 GB, free: 89.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/10.94, allocations: 244.8 kB / 3.935 GB, free: 89.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/10.94, allocations: 35.98 kB / 3.935 GB, free: 89.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/10.94, allocations: 2.684 MB / 3.938 GB, free: 86.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/10.94, allocations: 7.938 kB / 3.938 GB, free: 86.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006435/10.95, allocations: 2.653 MB / 3.941 GB, free: 84.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/10.95, allocations: 359 kB / 3.941 GB, free: 83.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/10.95, allocations: 31.98 kB / 3.941 GB, free: 83.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/10.95, allocations: 147.7 kB / 3.941 GB, free: 83.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/10.95, allocations: 64.47 kB / 3.941 GB, free: 83.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/10.96, allocations: 43.48 kB / 3.941 GB, free: 83.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001715/10.96, allocations: 0.914 MB / 3.942 GB, free: 82.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.21e-07/10.96, allocations: 0 / 3.942 GB, free: 82.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004546/10.96, allocations: 0.9959 MB / 3.943 GB, free: 81.48 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.003706/10.97, allocations: 2.374 MB / 3.945 GB, free: 79.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007643/10.97, allocations: 3.085 MB / 3.948 GB, free: 76.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/10.97, allocations: 0 / 3.948 GB, free: 76.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/10.97, allocations: 0.8069 MB / 3.949 GB, free: 75.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/10.98, allocations: 0.8707 MB / 3.95 GB, free: 74.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/10.99, allocations: 3.932 MB / 3.954 GB, free: 70.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/10.99, allocations: 1.392 MB / 3.955 GB, free: 69.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002263/10.99, allocations: 342.6 kB / 3.956 GB, free: 68.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/10.99, allocations: 111.4 kB / 3.956 GB, free: 68.59 MB / 0.8386 GB Notification: Performance of SimCode: time 1.434e-05/10.99, allocations: 0 / 3.956 GB, free: 68.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.1166/11.11, allocations: 61.83 MB / 4.016 GB, free: 7.633 MB / 0.8386 GB