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.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006656/0.006662, allocations: 231.2 kB / 15.82 MB, free: 6.301 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.001788/0.001788, allocations: 175.3 kB / 16.7 MB, free: 5.457 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.266/4.266, allocations: 389 MB / 406.5 MB, free: 11.81 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.479/4.479, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005096, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1961, allocations: 98.72 MB / 1.105 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.885/2.081, allocations: 426.7 MB / 1.521 GB, free: 219.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/2.082, allocations: 103.3 kB / 1.521 GB, free: 219.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/5.726, allocations: 0.6633 GB / 2.185 GB, free: 147.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.747e-06/5.726, allocations: 0 / 2.185 GB, free: 147.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003342/5.727, allocations: 44.41 kB / 2.185 GB, free: 147.1 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.008827/5.736, allocations: 2.125 MB / 2.187 GB, free: 146 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/5.736, allocations: 10.66 kB / 2.187 GB, free: 146 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/5.74, allocations: 392.5 kB / 2.187 GB, free: 145.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02504/5.765, allocations: 7.642 MB / 2.195 GB, free: 145.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/5.765, allocations: 68.5 kB / 2.195 GB, free: 145.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/5.765, allocations: 88.53 kB / 2.195 GB, free: 145.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/5.769, allocations: 1.032 MB / 2.196 GB, free: 145.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/5.769, allocations: 3.938 kB / 2.196 GB, free: 145.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/5.769, allocations: 34.28 kB / 2.196 GB, free: 145.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/5.769, allocations: 21.31 kB / 2.196 GB, free: 145.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/5.772, allocations: 0.7705 MB / 2.197 GB, free: 145.1 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.00981/5.782, allocations: 4.678 MB / 2.201 GB, free: 142.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/5.784, allocations: 0.5361 MB / 2.202 GB, free: 142.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/5.786, allocations: 273.3 kB / 2.202 GB, free: 142.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003346/5.789, allocations: 1.617 MB / 2.204 GB, free: 141.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/5.79, allocations: 426.5 kB / 2.204 GB, free: 141.6 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007701/5.791, allocations: 88.59 kB / 2.204 GB, free: 141.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/5.791, allocations: 0 / 2.204 GB, free: 141.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.004806/5.796, allocations: 1.161 MB / 2.205 GB, free: 141.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/5.796, allocations: 108.3 kB / 2.205 GB, free: 141.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/5.799, allocations: 1.235 MB / 2.207 GB, free: 141 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/5.799, allocations: 36.36 kB / 2.207 GB, free: 140.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007072/5.799, allocations: 0.6605 MB / 2.207 GB, free: 140.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/5.8, allocations: 149.5 kB / 2.207 GB, free: 140.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/5.8, allocations: 19.06 kB / 2.207 GB, free: 140.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/5.8, allocations: 331.1 kB / 2.208 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/5.801, allocations: 263.9 kB / 2.208 GB, free: 140.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/5.802, allocations: 0.5344 MB / 2.209 GB, free: 140 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/5.804, allocations: 351.5 kB / 2.209 GB, free: 140 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/5.804, allocations: 3.562 kB / 2.209 GB, free: 140 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003671/5.807, allocations: 0.966 MB / 2.21 GB, free: 139.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/5.808, allocations: 323.5 kB / 2.21 GB, free: 139.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/5.808, allocations: 14.12 kB / 2.21 GB, free: 139.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/5.808, allocations: 85.86 kB / 2.21 GB, free: 139.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/5.81, allocations: 155.8 kB / 2.21 GB, free: 139.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007802/5.81, allocations: 1.129 MB / 2.211 GB, free: 138.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/5.812, allocations: 81.94 kB / 2.212 GB, free: 138.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/5.812, allocations: 43.31 kB / 2.212 GB, free: 138.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/5.812, allocations: 6.344 kB / 2.212 GB, free: 138.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003052/5.815, allocations: 0.8192 MB / 2.212 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/5.816, allocations: 6.969 kB / 2.212 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/5.816, allocations: 83.59 kB / 2.212 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/5.817, allocations: 149.8 kB / 2.213 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007927/5.818, allocations: 1.134 MB / 2.214 GB, free: 137.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/5.82, allocations: 91.66 kB / 2.214 GB, free: 137.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/5.82, allocations: 42.41 kB / 2.214 GB, free: 137.3 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.001289/5.821, allocations: 496.1 kB / 2.214 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/5.822, allocations: 131.1 kB / 2.214 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/5.826, allocations: 0.9436 MB / 2.215 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/5.826, allocations: 3.969 kB / 2.215 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/5.826, allocations: 0 / 2.215 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/5.826, allocations: 10.83 kB / 2.215 GB, free: 136.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 postOpt removeSimpleEquations (simulation): time 0.006137/5.832, allocations: 1.982 MB / 2.217 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/5.832, allocations: 6.203 kB / 2.217 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/5.833, allocations: 95.09 kB / 2.217 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/5.833, allocations: 77.2 kB / 2.217 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/5.833, allocations: 25.53 kB / 2.218 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007052/5.834, allocations: 1.12 MB / 2.219 GB, free: 135 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/5.834, allocations: 3.5 kB / 2.219 GB, free: 135 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/5.838, allocations: 1.023 MB / 2.22 GB, free: 134.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/5.839, allocations: 281.1 kB / 2.22 GB, free: 134.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/5.839, allocations: 19.59 kB / 2.22 GB, free: 134.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/5.841, allocations: 80.12 kB / 2.22 GB, free: 134.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/5.841, allocations: 36.91 kB / 2.22 GB, free: 134.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/5.841, allocations: 34.2 kB / 2.22 GB, free: 134.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001977/5.843, allocations: 0.8397 MB / 2.221 GB, free: 133.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.31e-07/5.843, allocations: 0 / 2.221 GB, free: 133.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003616/5.847, allocations: 0.7124 MB / 2.222 GB, free: 133.7 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.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.002447/5.849, allocations: 0.985 MB / 2.223 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00453/5.854, allocations: 1.223 MB / 2.224 GB, free: 133 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/5.854, allocations: 3.562 kB / 2.224 GB, free: 133 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/5.855, allocations: 425.7 kB / 2.224 GB, free: 132.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/5.861, allocations: 0.6229 MB / 2.225 GB, free: 132.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/5.867, allocations: 2.633 MB / 2.227 GB, free: 131.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/5.868, allocations: 1.228 MB / 2.228 GB, free: 130.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002446/5.871, allocations: 283.5 kB / 2.229 GB, free: 130.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/5.871, allocations: 109.9 kB / 2.229 GB, free: 130.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.212e-06/5.871, allocations: 0 / 2.229 GB, free: 130.4 MB / 0.823 GB Notification: Performance of Templates: time 0.08055/5.952, allocations: 30.04 MB / 2.258 GB, free: 123.7 MB / 0.823 GB