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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.847/3.847, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.225e-05, allocations: 8 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4956, allocations: 98.71 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.386/5.882, allocations: 2.199 GB / 2.828 GB, free: 119.1 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/5.882, allocations: 95.88 kB / 2.828 GB, free: 119 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.333/10.22, allocations: 0.9953 GB / 3.824 GB, free: 33.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.012e-06/10.22, allocations: 4 kB / 3.824 GB, free: 33.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002288/10.22, allocations: 47.98 kB / 3.824 GB, free: 32.99 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.005185/10.22, allocations: 2.06 MB / 3.826 GB, free: 30.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/10.22, allocations: 12.03 kB / 3.826 GB, free: 30.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/10.23, allocations: 0.6103 MB / 3.826 GB, free: 30.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/10.23, allocations: 1.454 MB / 3.828 GB, free: 28.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/10.23, allocations: 110.2 kB / 3.828 GB, free: 28.62 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/10.23, allocations: 83.98 kB / 3.828 GB, free: 28.54 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002704/10.23, allocations: 0.9886 MB / 3.829 GB, free: 27.54 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/10.24, allocations: 1.19 MB / 3.83 GB, free: 26.28 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/10.24, allocations: 0 / 3.83 GB, free: 26.28 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/10.24, allocations: 4 kB / 3.83 GB, free: 26.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/10.24, allocations: 38.22 kB / 3.83 GB, free: 26.24 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.01047/10.25, allocations: 5.625 MB / 3.836 GB, free: 20.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/10.25, allocations: 0.9448 MB / 3.836 GB, free: 19.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/10.25, allocations: 452.6 kB / 3.837 GB, free: 18.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/10.25, allocations: 324 kB / 3.837 GB, free: 18.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009605/10.25, allocations: 0.4975 MB / 3.838 GB, free: 18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 4.924e-06/10.25, allocations: 0 / 3.838 GB, free: 18 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.009992/10.26, allocations: 2.916 MB / 3.841 GB, free: 15.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/10.26, allocations: 192.7 kB / 3.841 GB, free: 14.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/10.26, allocations: 0.9135 MB / 3.842 GB, free: 13.87 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/10.26, allocations: 29.64 kB / 3.842 GB, free: 13.83 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000679/10.26, allocations: 0.7438 MB / 3.842 GB, free: 13.08 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/10.26, allocations: 315.2 kB / 3.843 GB, free: 12.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/10.26, allocations: 4 kB / 3.843 GB, free: 12.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/10.27, allocations: 341.9 kB / 3.843 GB, free: 12.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/10.27, allocations: 362.5 kB / 3.843 GB, free: 12.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000887/10.27, allocations: 0.5897 MB / 3.844 GB, free: 11.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00546/10.27, allocations: 1.327 MB / 3.845 GB, free: 10.05 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.284e-06/10.27, allocations: 0 / 3.845 GB, free: 10.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005562/10.28, allocations: 1.561 MB / 3.847 GB, free: 8.469 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003026/10.28, allocations: 1.289 MB / 3.848 GB, free: 7.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/10.28, allocations: 0 / 3.848 GB, free: 7.109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/10.28, allocations: 415.3 kB / 3.848 GB, free: 6.691 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/10.28, allocations: 175.8 kB / 3.849 GB, free: 6.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00805/10.29, allocations: 6.5 MB / 3.855 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/10.29, allocations: 123.8 kB / 3.855 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/10.29, allocations: 39.98 kB / 3.855 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/10.29, allocations: 5.406 kB / 3.855 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004975/10.3, allocations: 1.37 MB / 3.856 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/10.3, allocations: 4.375 kB / 3.856 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/10.3, allocations: 415.3 kB / 3.857 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/10.3, allocations: 159.8 kB / 3.857 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/10.31, allocations: 7.445 MB / 3.864 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/10.31, allocations: 111.8 kB / 3.864 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/10.31, allocations: 39.98 kB / 3.864 GB, free: 5.426 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.0004706/10.31, allocations: 162.5 kB / 3.865 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/10.31, allocations: 154.2 kB / 3.865 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/10.32, allocations: 1.345 MB / 3.866 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/10.32, allocations: 8 kB / 3.866 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-06/10.32, allocations: 3.938 kB / 3.866 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004178/10.32, allocations: 1.235 MB / 3.867 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5348/10.86, allocations: 3.074 MB / 3.87 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/10.86, allocations: 3.906 kB / 3.87 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/10.86, allocations: 189.3 kB / 3.87 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006602/10.86, allocations: 195.3 kB / 3.871 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/10.86, allocations: 18.03 kB / 3.871 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/10.86, allocations: 2.406 MB / 3.873 GB, free: 127 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/10.86, allocations: 7.594 kB / 3.873 GB, free: 127 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/10.87, allocations: 2.271 MB / 3.875 GB, free: 126.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/10.87, allocations: 349.2 kB / 3.876 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/10.87, allocations: 14.62 kB / 3.876 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/10.87, allocations: 129 kB / 3.876 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/10.87, allocations: 70.25 kB / 3.876 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/10.87, allocations: 40.75 kB / 3.876 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001374/10.87, allocations: 0.6977 MB / 3.876 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.13e-07/10.87, allocations: 2.438 kB / 3.876 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005268/10.88, allocations: 0.9464 MB / 3.877 GB, free: 126.2 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.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.004587/10.88, allocations: 2.62 MB / 3.88 GB, free: 125.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004583/10.89, allocations: 2.54 MB / 3.882 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.314e-06/10.89, allocations: 3.125 kB / 3.882 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/10.89, allocations: 0.6814 MB / 3.883 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/10.89, allocations: 0.7265 MB / 3.884 GB, free: 124.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/10.9, allocations: 2.531 MB / 3.886 GB, free: 123.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/10.9, allocations: 1.393 MB / 3.888 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002738/10.9, allocations: 427.5 kB / 3.888 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/10.91, allocations: 82.91 kB / 3.888 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.787e-06/10.91, allocations: 4.438 kB / 3.888 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.1004/11.01, allocations: 46.57 MB / 3.934 GB, free: 121.7 MB / 0.8386 GB