Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.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 loadModel(Buildings): time 4.264/4.264, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.325e-05/1.329e-05, allocations: 0 / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5039, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.511, allocations: 426 MB / 1.045 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.511, allocations: 91.66 kB / 1.045 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.937/4.448, allocations: 0.6649 GB / 1.71 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.153e-06/4.448, allocations: 0 / 1.71 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002463/4.448, allocations: 43.98 kB / 1.71 GB, free: 4.82 MB / 0.8073 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.004135/4.452, allocations: 1.7 MB / 1.712 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/4.452, allocations: 8.031 kB / 1.712 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/4.455, allocations: 393.6 kB / 1.712 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/4.48, allocations: 8.297 MB / 1.72 GB, free: 10.24 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.427e-05/4.48, allocations: 28 kB / 1.72 GB, free: 10.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/4.481, allocations: 52 kB / 1.72 GB, free: 10.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00177/4.482, allocations: 0.6132 MB / 1.721 GB, free: 9.551 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/4.485, allocations: 0.8399 MB / 1.722 GB, free: 8.66 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/4.485, allocations: 0 / 1.722 GB, free: 8.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/4.485, allocations: 11.94 kB / 1.722 GB, free: 8.648 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/4.485, allocations: 23.95 kB / 1.722 GB, free: 8.625 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.009034/4.494, allocations: 4.545 MB / 1.726 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/4.495, allocations: 451.2 kB / 1.727 GB, free: 3.379 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/4.495, allocations: 221.2 kB / 1.727 GB, free: 3.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003251/4.499, allocations: 1.615 MB / 1.728 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006979/4.499, allocations: 347.9 kB / 1.729 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005795/4.5, allocations: 67.48 kB / 1.729 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.05e-06/4.5, allocations: 0 / 1.729 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.002492/4.503, allocations: 0.6504 MB / 1.729 GB, free: 280 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/4.503, allocations: 110.8 kB / 1.729 GB, free: 144 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5062/5.009, allocations: 0.9645 MB / 1.73 GB, free: 129.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/5.009, allocations: 28.27 kB / 1.73 GB, free: 129.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008092/5.01, allocations: 0.671 MB / 1.731 GB, free: 129.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/5.01, allocations: 140 kB / 1.731 GB, free: 129.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/5.01, allocations: 0.6562 kB / 1.731 GB, free: 129.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/5.01, allocations: 336.7 kB / 1.732 GB, free: 129 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/5.011, allocations: 196 kB / 1.732 GB, free: 129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/5.012, allocations: 483.9 kB / 1.732 GB, free: 128.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/5.013, allocations: 341.1 kB / 1.733 GB, free: 128.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/5.013, allocations: 1.375 kB / 1.733 GB, free: 128.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003194/5.017, allocations: 0.8419 MB / 1.733 GB, free: 128.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005963/5.017, allocations: 2.774 MB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/5.017, allocations: 7.156 kB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/5.018, allocations: 77.17 kB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/5.019, allocations: 154.3 kB / 1.736 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/5.019, allocations: 1.141 MB / 1.737 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/5.021, allocations: 70.19 kB / 1.737 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/5.021, allocations: 44.2 kB / 1.738 GB, free: 124.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/5.021, allocations: 5.125 kB / 1.738 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/5.024, allocations: 0.6705 MB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/5.024, allocations: 9.422 kB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/5.024, allocations: 71.77 kB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/5.025, allocations: 152.6 kB / 1.738 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008582/5.026, allocations: 1.145 MB / 1.74 GB, free: 123.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/5.027, allocations: 64.22 kB / 1.74 GB, free: 123.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/5.027, allocations: 41.39 kB / 1.74 GB, free: 123.6 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.000379/5.028, allocations: 173.9 kB / 1.74 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/5.028, allocations: 128.6 kB / 1.74 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/5.031, allocations: 0.787 MB / 1.741 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/5.031, allocations: 9.125 kB / 1.741 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/5.031, allocations: 0.9688 kB / 1.741 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/5.031, allocations: 5.047 kB / 1.741 GB, free: 123.3 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 postOpt removeSimpleEquations (simulation): time 0.00484/5.036, allocations: 1.753 MB / 1.742 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/5.036, allocations: 1.953 kB / 1.742 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/5.036, allocations: 96.14 kB / 1.742 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/5.037, allocations: 69.2 kB / 1.743 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/5.037, allocations: 11.97 kB / 1.743 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007998/5.038, allocations: 1.134 MB / 1.744 GB, free: 121.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.243e-06/5.038, allocations: 2.031 kB / 1.744 GB, free: 121.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/5.04, allocations: 0.924 MB / 1.745 GB, free: 121.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/5.041, allocations: 279.3 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/5.041, allocations: 8.812 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/5.042, allocations: 77.64 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/5.043, allocations: 40.77 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/5.043, allocations: 31.2 kB / 1.745 GB, free: 121.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001701/5.044, allocations: 0.7399 MB / 1.746 GB, free: 121.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.72e-07/5.044, allocations: 0 / 1.746 GB, free: 121.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003784/5.048, allocations: 0.7389 MB / 1.746 GB, free: 121.2 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) * 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.002243/5.051, allocations: 0.9628 MB / 1.747 GB, free: 121 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002402/5.053, allocations: 1.066 MB / 1.748 GB, free: 120.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.804e-06/5.053, allocations: 0 / 1.748 GB, free: 120.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007447/5.054, allocations: 358.7 kB / 1.749 GB, free: 120.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/5.057, allocations: 0.545 MB / 1.749 GB, free: 120.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/5.061, allocations: 1.576 MB / 1.751 GB, free: 120.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/5.062, allocations: 1.236 MB / 1.752 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002717/5.065, allocations: 402.5 kB / 1.752 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/5.065, allocations: 73.44 kB / 1.753 GB, free: 119.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.349e-06/5.065, allocations: 0 / 1.753 GB, free: 119.6 MB / 0.823 GB Notification: Performance of Templates: time 0.06021/5.125, allocations: 27.76 MB / 1.78 GB, free: 119 MB / 0.823 GB