Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006476/0.006481, allocations: 231.5 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.001881/0.00188, allocations: 175.2 kB / 16.7 MB, free: 5.453 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 4.148/4.148, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 4.043/4.043, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005156, allocations: 16 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2153, allocations: 98.71 MB / 1.105 GB, free: 80.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.107, allocations: 426.7 MB / 1.521 GB, free: 228 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/2.107, allocations: 98.52 kB / 1.521 GB, free: 228 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.39/5.497, allocations: 0.6633 GB / 2.185 GB, free: 151.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.188e-06/5.497, allocations: 0 / 2.185 GB, free: 151.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003193/5.497, allocations: 41.61 kB / 2.185 GB, free: 151.8 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.008087/5.505, allocations: 2.12 MB / 2.187 GB, free: 150.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/5.505, allocations: 12.06 kB / 2.187 GB, free: 150.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/5.509, allocations: 394.4 kB / 2.187 GB, free: 150.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02544/5.535, allocations: 7.643 MB / 2.195 GB, free: 150.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/5.535, allocations: 72.56 kB / 2.195 GB, free: 150.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/5.535, allocations: 87.38 kB / 2.195 GB, free: 150.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/5.538, allocations: 1.029 MB / 2.196 GB, free: 149.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/5.538, allocations: 3.656 kB / 2.196 GB, free: 149.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/5.539, allocations: 36.88 kB / 2.196 GB, free: 149.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/5.539, allocations: 19.66 kB / 2.196 GB, free: 149.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/5.542, allocations: 0.7647 MB / 2.197 GB, free: 149.9 MB / 0.823 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.01205/5.554, allocations: 4.69 MB / 2.201 GB, free: 147.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/5.557, allocations: 0.5273 MB / 2.202 GB, free: 147.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/5.558, allocations: 280.3 kB / 2.202 GB, free: 147.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003474/5.561, allocations: 1.611 MB / 2.204 GB, free: 146.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/5.563, allocations: 430.6 kB / 2.204 GB, free: 146.4 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008619/5.564, allocations: 84.73 kB / 2.204 GB, free: 146.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.386e-06/5.564, allocations: 0 / 2.204 GB, free: 146.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.004984/5.569, allocations: 1.16 MB / 2.205 GB, free: 146.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/5.569, allocations: 113.4 kB / 2.205 GB, free: 145.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/5.571, allocations: 1.228 MB / 2.207 GB, free: 145.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/5.572, allocations: 41.86 kB / 2.207 GB, free: 145.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000778/5.572, allocations: 0.6579 MB / 2.207 GB, free: 145.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/5.573, allocations: 152.2 kB / 2.207 GB, free: 145.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/5.573, allocations: 10.59 kB / 2.207 GB, free: 145.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/5.573, allocations: 337.1 kB / 2.208 GB, free: 145.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/5.574, allocations: 258.8 kB / 2.208 GB, free: 145.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/5.575, allocations: 0.5432 MB / 2.209 GB, free: 144.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/5.577, allocations: 351.4 kB / 2.209 GB, free: 144.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/5.577, allocations: 3.625 kB / 2.209 GB, free: 144.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00365/5.581, allocations: 0.9646 MB / 2.21 GB, free: 144.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/5.581, allocations: 329.5 kB / 2.21 GB, free: 144.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/5.581, allocations: 10.03 kB / 2.21 GB, free: 144.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/5.581, allocations: 90.3 kB / 2.21 GB, free: 144.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/5.583, allocations: 149 kB / 2.21 GB, free: 144.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007917/5.583, allocations: 1.134 MB / 2.211 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/5.585, allocations: 73.58 kB / 2.212 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/5.586, allocations: 51.16 kB / 2.212 GB, free: 143.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/5.586, allocations: 10.77 kB / 2.212 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003068/5.589, allocations: 0.8119 MB / 2.212 GB, free: 143.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/5.589, allocations: 7.156 kB / 2.212 GB, free: 143.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/5.589, allocations: 90.3 kB / 2.212 GB, free: 143.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/5.59, allocations: 144.6 kB / 2.213 GB, free: 143.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/5.591, allocations: 1.134 MB / 2.214 GB, free: 142.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/5.593, allocations: 85.89 kB / 2.214 GB, free: 142 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/5.593, allocations: 42.02 kB / 2.214 GB, free: 142 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 1 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001282/5.595, allocations: 497.4 kB / 2.214 GB, free: 141.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/5.595, allocations: 132.7 kB / 2.214 GB, free: 141.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/5.599, allocations: 0.9434 MB / 2.215 GB, free: 141.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/5.599, allocations: 5.156 kB / 2.215 GB, free: 141.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/5.599, allocations: 2.906 kB / 2.215 GB, free: 141.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/5.599, allocations: 7 kB / 2.215 GB, free: 141.6 MB / 0.823 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 postOpt removeSimpleEquations (simulation): time 0.006195/5.605, allocations: 1.974 MB / 2.217 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/5.605, allocations: 3.969 kB / 2.217 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/5.606, allocations: 99.45 kB / 2.217 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/5.607, allocations: 78.64 kB / 2.217 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/5.607, allocations: 25.38 kB / 2.217 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007042/5.607, allocations: 1.111 MB / 2.219 GB, free: 140.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/5.607, allocations: 6.062 kB / 2.219 GB, free: 140.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/5.611, allocations: 1.027 MB / 2.22 GB, free: 139.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009211/5.612, allocations: 279.3 kB / 2.22 GB, free: 139.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000444/5.612, allocations: 13.88 kB / 2.22 GB, free: 139.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/5.614, allocations: 84.45 kB / 2.22 GB, free: 139.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/5.614, allocations: 38.12 kB / 2.22 GB, free: 139.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/5.614, allocations: 29.78 kB / 2.22 GB, free: 139.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001965/5.616, allocations: 0.8388 MB / 2.221 GB, free: 139.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.623e-06/5.616, allocations: 0 / 2.221 GB, free: 139.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004063/5.621, allocations: 0.721 MB / 2.222 GB, free: 139.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002445/5.623, allocations: 0.973 MB / 2.222 GB, free: 139.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004584/5.628, allocations: 1.229 MB / 2.224 GB, free: 139 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/5.628, allocations: 4.969 kB / 2.224 GB, free: 139 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/5.629, allocations: 419.8 kB / 2.224 GB, free: 138.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/5.635, allocations: 0.6165 MB / 2.225 GB, free: 138.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/5.642, allocations: 2.628 MB / 2.227 GB, free: 137.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000946/5.643, allocations: 1.232 MB / 2.228 GB, free: 137 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002453/5.645, allocations: 287.5 kB / 2.229 GB, free: 137 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/5.646, allocations: 104.9 kB / 2.229 GB, free: 137 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/5.646, allocations: 2.969 kB / 2.229 GB, free: 137 MB / 0.823 GB Notification: Performance of Templates: time 0.0783/5.724, allocations: 30.04 MB / 2.258 GB, free: 135.5 MB / 0.823 GB