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.009044/0.009047, allocations: 110.8 kB / 15.05 MB, free: 6.051 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.001117/0.001117, allocations: 190.2 kB / 15.95 MB, free: 5.977 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 2.01/2.01, allocations: 194.5 MB / 211.3 MB, free: 11.11 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.228/2.228, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004606, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5445, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9811/1.526, allocations: 426.7 MB / 1.1 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.526, allocations: 98.56 kB / 1.1 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.997/4.523, allocations: 0.6705 GB / 1.771 GB, free: 87.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.661e-06/4.523, allocations: 0 / 1.771 GB, free: 87.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002475/4.524, allocations: 43.94 kB / 1.771 GB, free: 87.43 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.005824/4.529, allocations: 2.13 MB / 1.773 GB, free: 85.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/4.53, allocations: 12.02 kB / 1.773 GB, free: 85.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/4.532, allocations: 385.7 kB / 1.773 GB, free: 84.84 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0231/4.555, allocations: 8.371 MB / 1.781 GB, free: 76.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/4.555, allocations: 77.97 kB / 1.781 GB, free: 76.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/4.556, allocations: 88 kB / 1.782 GB, free: 76.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/4.558, allocations: 1.02 MB / 1.783 GB, free: 75.13 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/4.558, allocations: 3.984 kB / 1.783 GB, free: 75.12 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/4.558, allocations: 40 kB / 1.783 GB, free: 75.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/4.558, allocations: 20 kB / 1.783 GB, free: 75.07 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/4.561, allocations: 0.765 MB / 1.783 GB, free: 74.3 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.00805/4.569, allocations: 4.72 MB / 1.788 GB, free: 69.31 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/4.571, allocations: 0.5276 MB / 1.788 GB, free: 68.78 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/4.574, allocations: 1.649 MB / 1.79 GB, free: 66.95 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/4.575, allocations: 420.5 kB / 1.79 GB, free: 66.52 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008593/4.576, allocations: 75.41 kB / 1.791 GB, free: 66.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.472e-06/4.576, allocations: 0 / 1.791 GB, free: 66.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.003878/4.58, allocations: 1.254 MB / 1.792 GB, free: 65.11 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/4.58, allocations: 110.8 kB / 1.792 GB, free: 64.98 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/4.582, allocations: 1.106 MB / 1.793 GB, free: 63.87 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/4.583, allocations: 41.7 kB / 1.793 GB, free: 63.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007074/4.583, allocations: 0.6609 MB / 1.794 GB, free: 63.15 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/4.584, allocations: 149.8 kB / 1.794 GB, free: 63 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/4.584, allocations: 12 kB / 1.794 GB, free: 62.99 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/4.584, allocations: 334 kB / 1.794 GB, free: 62.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008512/4.585, allocations: 261.1 kB / 1.794 GB, free: 62.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/4.586, allocations: 0.5366 MB / 1.795 GB, free: 61.74 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/4.586, allocations: 355.5 kB / 1.795 GB, free: 61.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.191e-06/4.587, allocations: 4 kB / 1.795 GB, free: 61.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002817/4.589, allocations: 0.9629 MB / 1.796 GB, free: 60.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005733/4.59, allocations: 2.791 MB / 1.799 GB, free: 57.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/4.59, allocations: 8 kB / 1.799 GB, free: 57.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/4.59, allocations: 97.83 kB / 1.799 GB, free: 57.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/4.591, allocations: 151.8 kB / 1.799 GB, free: 57.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006642/4.592, allocations: 1.124 MB / 1.8 GB, free: 56.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/4.593, allocations: 87.98 kB / 1.8 GB, free: 55.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/4.594, allocations: 43.92 kB / 1.8 GB, free: 55.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/4.594, allocations: 7.938 kB / 1.8 GB, free: 55.88 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00229/4.596, allocations: 0.8151 MB / 1.801 GB, free: 55.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/4.596, allocations: 4 kB / 1.801 GB, free: 55.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/4.596, allocations: 90.23 kB / 1.801 GB, free: 54.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/4.597, allocations: 147.7 kB / 1.801 GB, free: 54.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006326/4.598, allocations: 1.128 MB / 1.802 GB, free: 53.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/4.599, allocations: 80.05 kB / 1.803 GB, free: 53.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/4.599, allocations: 43.98 kB / 1.803 GB, free: 53.51 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.001104/4.601, allocations: 494.5 kB / 1.803 GB, free: 53.01 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/4.601, allocations: 138.3 kB / 1.803 GB, free: 52.87 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/4.604, allocations: 0.9516 MB / 1.804 GB, free: 51.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/4.604, allocations: 4 kB / 1.804 GB, free: 51.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.435e-06/4.604, allocations: 0 / 1.804 GB, free: 51.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/4.604, allocations: 3.984 kB / 1.804 GB, free: 51.89 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.004923/4.609, allocations: 2.002 MB / 1.806 GB, free: 49.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/4.609, allocations: 4 kB / 1.806 GB, free: 49.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/4.61, allocations: 87.86 kB / 1.806 GB, free: 49.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/4.61, allocations: 89.69 kB / 1.806 GB, free: 49.62 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/4.61, allocations: 15.98 kB / 1.806 GB, free: 49.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006152/4.611, allocations: 1.109 MB / 1.807 GB, free: 48.45 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.564e-06/4.611, allocations: 0 / 1.807 GB, free: 48.45 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/4.613, allocations: 1.072 MB / 1.808 GB, free: 47.32 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/4.614, allocations: 303.1 kB / 1.809 GB, free: 47.01 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/4.614, allocations: 12 kB / 1.809 GB, free: 47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/4.616, allocations: 83.83 kB / 1.809 GB, free: 46.91 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/4.616, allocations: 35.91 kB / 1.809 GB, free: 46.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/4.616, allocations: 31.97 kB / 1.809 GB, free: 46.85 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001751/4.618, allocations: 0.8754 MB / 1.81 GB, free: 45.97 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.159e-06/4.618, allocations: 0 / 1.81 GB, free: 45.97 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003431/4.621, allocations: 0.7525 MB / 1.81 GB, free: 45.22 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.002053/4.623, allocations: 1.018 MB / 1.811 GB, free: 44.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00329/4.626, allocations: 1.234 MB / 1.813 GB, free: 42.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.365e-06/4.626, allocations: 0 / 1.813 GB, free: 42.96 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/4.628, allocations: 421 kB / 1.813 GB, free: 42.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/4.631, allocations: 0.6157 MB / 1.814 GB, free: 41.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/4.636, allocations: 2.629 MB / 1.816 GB, free: 39.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/4.637, allocations: 1.23 MB / 1.817 GB, free: 38 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002016/4.639, allocations: 294 kB / 1.818 GB, free: 37.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/4.639, allocations: 103.4 kB / 1.818 GB, free: 37.61 MB / 0.823 GB Notification: Performance of SimCode: time 1.867e-06/4.639, allocations: 0 / 1.818 GB, free: 37.61 MB / 0.823 GB Notification: Performance of Templates: time 0.0666/4.706, allocations: 30.82 MB / 1.848 GB, free: 7.211 MB / 0.823 GB