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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.393/4.393, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.898e-05, allocations: 6.766 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1864, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.289, allocations: 426.7 MB / 1.051 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.29, allocations: 95.75 kB / 1.052 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.076/4.366, allocations: 0.6683 GB / 1.72 GB, free: 10.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.926e-06/4.366, allocations: 4 kB / 1.72 GB, free: 10.58 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002251/4.366, allocations: 39.92 kB / 1.72 GB, free: 10.54 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.003965/4.37, allocations: 1.707 MB / 1.722 GB, free: 8.773 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/4.37, allocations: 8.031 kB / 1.722 GB, free: 8.766 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/4.372, allocations: 390.3 kB / 1.722 GB, free: 8.383 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.534/4.906, allocations: 8.314 MB / 1.73 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/4.907, allocations: 68.31 kB / 1.73 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/4.907, allocations: 86.03 kB / 1.73 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/4.909, allocations: 0.9581 MB / 1.731 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/4.91, allocations: 1.156 kB / 1.731 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/4.91, allocations: 31.41 kB / 1.731 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/4.91, allocations: 19.78 kB / 1.731 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/4.912, allocations: 0.6429 MB / 1.732 GB, free: 120.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 preOpt removeSimpleEquations (simulation): time 0.009633/4.921, allocations: 4.716 MB / 1.736 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/4.923, allocations: 444.7 kB / 1.737 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/4.923, allocations: 215.4 kB / 1.737 GB, free: 118.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003332/4.927, allocations: 1.654 MB / 1.739 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000792/4.928, allocations: 357.6 kB / 1.739 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007479/4.928, allocations: 86.19 kB / 1.739 GB, free: 116.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.35e-06/4.928, allocations: 0 / 1.739 GB, free: 116.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.001874/4.93, allocations: 0.6214 MB / 1.74 GB, free: 116.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/4.93, allocations: 111 kB / 1.74 GB, free: 116.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/4.933, allocations: 1.107 MB / 1.741 GB, free: 116.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/4.933, allocations: 39.31 kB / 1.741 GB, free: 116.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008894/4.934, allocations: 0.6617 MB / 1.742 GB, free: 116.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/4.934, allocations: 148.3 kB / 1.742 GB, free: 116.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/4.935, allocations: 14.84 kB / 1.742 GB, free: 116.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/4.935, allocations: 330.8 kB / 1.742 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/4.935, allocations: 198.9 kB / 1.742 GB, free: 115.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/4.936, allocations: 490.4 kB / 1.743 GB, free: 115.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/4.937, allocations: 292.1 kB / 1.743 GB, free: 115.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.426e-06/4.937, allocations: 6.031 kB / 1.743 GB, free: 115.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002538/4.939, allocations: 0.8476 MB / 1.744 GB, free: 115.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006171/4.94, allocations: 2.792 MB / 1.747 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/4.94, allocations: 10.22 kB / 1.747 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/4.941, allocations: 83.67 kB / 1.747 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/4.942, allocations: 158.6 kB / 1.747 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007512/4.942, allocations: 1.13 MB / 1.748 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/4.944, allocations: 78.19 kB / 1.748 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/4.944, allocations: 48.47 kB / 1.748 GB, free: 111.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/4.944, allocations: 5.469 kB / 1.748 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/4.946, allocations: 0.6985 MB / 1.749 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/4.946, allocations: 10.86 kB / 1.749 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004482/4.947, allocations: 92 kB / 1.749 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/4.947, allocations: 148.8 kB / 1.749 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007189/4.948, allocations: 1.121 MB / 1.75 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/4.95, allocations: 83.25 kB / 1.75 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/4.95, allocations: 42.02 kB / 1.75 GB, free: 110.4 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 () * 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.0003629/4.95, allocations: 181.7 kB / 1.75 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/4.951, allocations: 138.9 kB / 1.75 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/4.953, allocations: 0.8291 MB / 1.751 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/4.953, allocations: 6.625 kB / 1.751 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.176e-06/4.953, allocations: 1.969 kB / 1.751 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/4.954, allocations: 3.078 kB / 1.751 GB, free: 110 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.005308/4.959, allocations: 1.886 MB / 1.753 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.721e-06/4.959, allocations: 1.219 kB / 1.753 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/4.96, allocations: 92.83 kB / 1.753 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/4.96, allocations: 74.77 kB / 1.753 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/4.96, allocations: 19.31 kB / 1.753 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006832/4.961, allocations: 1.118 MB / 1.754 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.145e-06/4.961, allocations: 1.281 kB / 1.754 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/4.963, allocations: 0.9566 MB / 1.755 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/4.964, allocations: 292.1 kB / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/4.964, allocations: 12 kB / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/4.965, allocations: 84 kB / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/4.966, allocations: 33.41 kB / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/4.966, allocations: 35.67 kB / 1.756 GB, free: 107.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002004/4.968, allocations: 0.8595 MB / 1.757 GB, free: 107.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.036e-06/4.968, allocations: 0 / 1.757 GB, free: 107.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00361/4.971, allocations: 0.7568 MB / 1.757 GB, free: 107.8 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.002388/4.974, allocations: 1.008 MB / 1.758 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002758/4.977, allocations: 1.106 MB / 1.759 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/4.977, allocations: 2.281 kB / 1.759 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/4.977, allocations: 358.1 kB / 1.76 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/4.982, allocations: 0.6199 MB / 1.76 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/4.986, allocations: 1.626 MB / 1.762 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/4.987, allocations: 1.235 MB / 1.763 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003016/4.99, allocations: 422.2 kB / 1.764 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/4.991, allocations: 81.67 kB / 1.764 GB, free: 106.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.833e-06/4.991, allocations: 4.344 kB / 1.764 GB, free: 106.2 MB / 0.823 GB Notification: Performance of Templates: time 0.08073/5.071, allocations: 34.86 MB / 1.798 GB, free: 105.4 MB / 0.823 GB