Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.87/3.87, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.274e-05, allocations: 4.266 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.577/5.77, allocations: 2.2 GB / 2.835 GB, free: 165.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/5.771, allocations: 90.81 kB / 2.835 GB, free: 165.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.447/10.22, allocations: 1.006 GB / 3.841 GB, free: 69.94 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.038e-06/10.22, allocations: 3.938 kB / 3.841 GB, free: 69.94 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001993/10.22, allocations: 51.98 kB / 3.841 GB, free: 69.89 MB / 0.823 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.004625/10.22, allocations: 2.061 MB / 3.843 GB, free: 67.76 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/10.22, allocations: 15.97 kB / 3.843 GB, free: 67.74 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/10.23, allocations: 0.6142 MB / 3.844 GB, free: 67.12 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/10.23, allocations: 1.444 MB / 3.845 GB, free: 65.63 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/10.23, allocations: 162.2 kB / 3.845 GB, free: 65.47 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/10.23, allocations: 128 kB / 3.845 GB, free: 65.35 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/10.24, allocations: 1.356 MB / 3.847 GB, free: 63.91 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/10.24, allocations: 0 / 3.847 GB, free: 63.91 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/10.24, allocations: 55.95 kB / 3.847 GB, free: 63.86 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/10.24, allocations: 50.16 kB / 3.847 GB, free: 63.81 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/10.24, allocations: 1.044 MB / 3.848 GB, free: 62.76 MB / 0.823 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.0107/10.25, allocations: 5.891 MB / 3.854 GB, free: 56.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/10.25, allocations: 0.9758 MB / 3.855 GB, free: 55.53 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008422/10.25, allocations: 475.7 kB / 3.855 GB, free: 55.06 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/10.25, allocations: 312 kB / 3.855 GB, free: 54.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009972/10.25, allocations: 0.5224 MB / 3.856 GB, free: 54.16 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 5.609e-06/10.25, allocations: 0 / 3.856 GB, free: 54.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.00843/10.26, allocations: 2.98 MB / 3.859 GB, free: 51.11 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/10.26, allocations: 192.7 kB / 3.859 GB, free: 50.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/10.26, allocations: 1.15 MB / 3.86 GB, free: 49.72 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/10.26, allocations: 53.7 kB / 3.86 GB, free: 49.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000633/10.26, allocations: 0.7216 MB / 3.861 GB, free: 48.93 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/10.26, allocations: 323.2 kB / 3.861 GB, free: 48.61 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/10.26, allocations: 20 kB / 3.861 GB, free: 48.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/10.26, allocations: 337.9 kB / 3.861 GB, free: 48.26 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/10.27, allocations: 381.9 kB / 3.862 GB, free: 47.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/10.27, allocations: 0.6064 MB / 3.862 GB, free: 47.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/10.28, allocations: 2.343 MB / 3.865 GB, free: 44.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.907e-06/10.28, allocations: 0 / 3.865 GB, free: 44.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004724/10.28, allocations: 1.615 MB / 3.866 GB, free: 43.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002957/10.28, allocations: 1.3 MB / 3.868 GB, free: 41.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/10.28, allocations: 3.984 kB / 3.868 GB, free: 41.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/10.29, allocations: 422 kB / 3.868 GB, free: 41.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009822/10.29, allocations: 167.7 kB / 3.868 GB, free: 41.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00864/10.3, allocations: 6.956 MB / 3.875 GB, free: 33.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/10.3, allocations: 147.7 kB / 3.875 GB, free: 33.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/10.3, allocations: 43.98 kB / 3.875 GB, free: 33.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/10.3, allocations: 7.953 kB / 3.875 GB, free: 33.59 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004121/10.3, allocations: 1.436 MB / 3.876 GB, free: 32.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/10.3, allocations: 7.984 kB / 3.876 GB, free: 32.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/10.3, allocations: 415.7 kB / 3.877 GB, free: 31.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/10.3, allocations: 159.7 kB / 3.877 GB, free: 31.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/10.31, allocations: 7.955 MB / 3.885 GB, free: 23.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/10.32, allocations: 139.8 kB / 3.885 GB, free: 22.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/10.32, allocations: 43.92 kB / 3.885 GB, free: 22.86 MB / 0.823 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 (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.000389/10.32, allocations: 204.7 kB / 3.885 GB, free: 22.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/10.32, allocations: 166 kB / 3.885 GB, free: 22.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/10.32, allocations: 1.406 MB / 3.887 GB, free: 21.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/10.32, allocations: 11.95 kB / 3.887 GB, free: 21.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/10.32, allocations: 0 / 3.887 GB, free: 21.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003375/10.33, allocations: 1.267 MB / 3.888 GB, free: 19.73 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007799/10.33, allocations: 3.275 MB / 3.891 GB, free: 16.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/10.33, allocations: 7.984 kB / 3.891 GB, free: 16.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/10.33, allocations: 192.2 kB / 3.891 GB, free: 16.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006103/10.34, allocations: 213.5 kB / 3.892 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/10.34, allocations: 35.97 kB / 3.892 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/10.34, allocations: 2.466 MB / 3.894 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.808e-06/10.34, allocations: 11.94 kB / 3.894 GB, free: 13.24 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/10.34, allocations: 2.335 MB / 3.896 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/10.34, allocations: 371 kB / 3.897 GB, free: 10.33 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/10.35, allocations: 24.38 kB / 3.897 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/10.35, allocations: 143.7 kB / 3.897 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/10.35, allocations: 76.58 kB / 3.897 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/10.35, allocations: 39.98 kB / 3.897 GB, free: 10.05 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001762/10.35, allocations: 0.8976 MB / 3.898 GB, free: 9.156 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.66e-07/10.35, allocations: 0 / 3.898 GB, free: 9.156 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004773/10.35, allocations: 0.992 MB / 3.899 GB, free: 8.164 MB / 0.823 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 (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.003742/10.36, allocations: 2.372 MB / 3.901 GB, free: 5.609 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005962/10.36, allocations: 2.867 MB / 3.904 GB, free: 2.621 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.052e-06/10.36, allocations: 0 / 3.904 GB, free: 2.621 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/10.37, allocations: 0.7101 MB / 3.905 GB, free: 1.891 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005546/10.37, allocations: 0.8609 MB / 3.905 GB, free: 1.027 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/10.38, allocations: 2.619 MB / 3.908 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/10.38, allocations: 1.402 MB / 3.909 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003245/10.38, allocations: 480.8 kB / 3.91 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/10.38, allocations: 95.41 kB / 3.91 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of SimCode: time 1.8e-06/10.38, allocations: 0 / 3.91 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.7098/11.09, allocations: 70.39 MB / 3.979 GB, free: 141.5 MB / 0.8542 GB