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.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadModel(Buildings): time 3.841/3.841, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.704e-05, allocations: 4.562 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1776, allocations: 98.72 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.993/1.171, allocations: 434.1 MB / 1.059 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.171, allocations: 91.88 kB / 1.059 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.206/5.377, allocations: 0.9489 GB / 2.008 GB, free: 21.96 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.883e-06/5.377, allocations: 0 / 2.008 GB, free: 21.96 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002492/5.377, allocations: 55.92 kB / 2.008 GB, free: 21.9 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005172/5.383, allocations: 2.119 MB / 2.01 GB, free: 19.72 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/5.383, allocations: 8.031 kB / 2.01 GB, free: 19.71 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/5.387, allocations: 0.731 MB / 2.01 GB, free: 18.98 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02596/5.413, allocations: 8.71 MB / 2.019 GB, free: 10.15 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/5.413, allocations: 94.69 kB / 2.019 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/5.414, allocations: 135.9 kB / 2.019 GB, free: 9.922 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/5.417, allocations: 1.388 MB / 2.02 GB, free: 8.414 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/5.417, allocations: 4 kB / 2.02 GB, free: 8.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/5.417, allocations: 51.94 kB / 2.021 GB, free: 8.359 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/5.417, allocations: 28 kB / 2.021 GB, free: 8.332 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/5.419, allocations: 0.9962 MB / 2.022 GB, free: 7.328 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.01213/5.431, allocations: 8.029 MB / 2.029 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/5.435, allocations: 0.9275 MB / 2.03 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/5.437, allocations: 370.8 kB / 2.031 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007424/5.444, allocations: 2.933 MB / 2.034 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/5.445, allocations: 422.9 kB / 2.034 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001157/5.446, allocations: 191.1 kB / 2.034 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 4.648e-06/5.446, allocations: 0 / 2.034 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.001999/5.448, allocations: 0.7507 MB / 2.035 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/5.448, allocations: 111.4 kB / 2.035 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/5.451, allocations: 1.328 MB / 2.036 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/5.452, allocations: 41.7 kB / 2.036 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/5.453, allocations: 0.9002 MB / 2.037 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/5.453, allocations: 240.6 kB / 2.037 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/5.453, allocations: 20 kB / 2.037 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002119/5.453, allocations: 345.9 kB / 2.038 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008543/5.454, allocations: 318.6 kB / 2.038 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/5.456, allocations: 0.7593 MB / 2.039 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/5.457, allocations: 447.4 kB / 2.039 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/5.457, allocations: 4 kB / 2.039 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003167/5.46, allocations: 1.218 MB / 2.04 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.5363/5.996, allocations: 4.749 MB / 2.045 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-05/5.996, allocations: 13.78 kB / 2.045 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/5.996, allocations: 22.34 kB / 2.045 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/5.998, allocations: 288.8 kB / 2.045 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.385e-05/5.998, allocations: 21.72 kB / 2.045 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/6, allocations: 154.1 kB / 2.046 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/6.001, allocations: 58.86 kB / 2.046 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/6.001, allocations: 6.875 kB / 2.046 GB, free: 97.15 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002578/6.003, allocations: 1.042 MB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/6.004, allocations: 12.66 kB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/6.004, allocations: 19.09 kB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/6.005, allocations: 291.2 kB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/6.005, allocations: 20.44 kB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/6.007, allocations: 151.9 kB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/6.008, allocations: 58.53 kB / 2.047 GB, free: 97.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003532/6.008, allocations: 179.8 kB / 2.047 GB, free: 97.01 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/6.008, allocations: 174.3 kB / 2.047 GB, free: 97.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/6.011, allocations: 1.053 MB / 2.048 GB, free: 96.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/6.011, allocations: 9.844 kB / 2.048 GB, free: 96.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.769e-06/6.011, allocations: 3.953 kB / 2.048 GB, free: 96.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001868/6.013, allocations: 0.939 MB / 2.049 GB, free: 96.59 MB / 0.8386 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.00667/6.02, allocations: 2.45 MB / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.76e-06/6.02, allocations: 0 / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/6.021, allocations: 173.7 kB / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/6.021, allocations: 2.781 kB / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/6.022, allocations: 29.67 kB / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.203e-06/6.022, allocations: 4.375 kB / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-06/6.022, allocations: 4.125 kB / 2.052 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/6.025, allocations: 1.475 MB / 2.053 GB, free: 95.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/6.026, allocations: 337 kB / 2.054 GB, free: 95.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/6.026, allocations: 18.06 kB / 2.054 GB, free: 95.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/6.028, allocations: 130.9 kB / 2.054 GB, free: 95.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/6.028, allocations: 53.44 kB / 2.054 GB, free: 95.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/6.028, allocations: 31.55 kB / 2.054 GB, free: 95.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002168/6.03, allocations: 1.014 MB / 2.055 GB, free: 95.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.239e-06/6.03, allocations: 0 / 2.055 GB, free: 95.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004851/6.035, allocations: 1.066 MB / 2.056 GB, free: 95.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/6.038, allocations: 1.223 MB / 2.057 GB, free: 95.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003926/6.042, allocations: 1.634 MB / 2.059 GB, free: 95.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.605e-06/6.042, allocations: 0 / 2.059 GB, free: 95.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/6.043, allocations: 414.4 kB / 2.059 GB, free: 95.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/6.048, allocations: 0.7578 MB / 2.06 GB, free: 95.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007906/6.056, allocations: 2.696 MB / 2.063 GB, free: 94.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/6.057, allocations: 1.406 MB / 2.064 GB, free: 93.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004399/6.061, allocations: 0.5918 MB / 2.065 GB, free: 93.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/6.062, allocations: 124.8 kB / 2.065 GB, free: 93.77 MB / 0.8386 GB Notification: Performance of SimCode: time 1.912e-06/6.062, allocations: 0 / 2.065 GB, free: 93.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.1209/6.183, allocations: 43.25 MB / 2.107 GB, free: 92.32 MB / 0.8386 GB