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/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.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.887/3.887, allocations: 433.3 MB / 440.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.025e-05, allocations: 4.547 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1735, allocations: 98.72 MB / 0.6289 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.238, allocations: 433.4 MB / 1.052 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.239, allocations: 97.25 kB / 1.052 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.409/5.647, allocations: 0.9443 GB / 1.997 GB, free: 1.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.541e-06/5.647, allocations: 4 kB / 1.997 GB, free: 1.328 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003429/5.648, allocations: 51.98 kB / 1.997 GB, free: 1.277 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.006794/5.655, allocations: 2.115 MB / 1.999 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.655, allocations: 15.95 kB / 1.999 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005075/5.66, allocations: 0.731 MB / 1.999 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02926/5.689, allocations: 8.682 MB / 2.008 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/5.689, allocations: 43.92 kB / 2.008 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/5.69, allocations: 79.91 kB / 2.008 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002889/5.693, allocations: 0.9302 MB / 2.009 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/5.696, allocations: 1.195 MB / 2.01 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/5.696, allocations: 3.938 kB / 2.01 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/5.696, allocations: 4 kB / 2.01 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/5.696, allocations: 35.98 kB / 2.01 GB, free: 3.133 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 preOpt removeSimpleEquations (simulation): time 0.5602/6.256, allocations: 7.787 MB / 2.018 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/6.26, allocations: 0.933 MB / 2.019 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/6.261, allocations: 363 kB / 2.019 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007808/6.269, allocations: 2.881 MB / 2.022 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009277/6.27, allocations: 406.5 kB / 2.022 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/6.271, allocations: 167.2 kB / 2.022 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 5.721e-06/6.272, allocations: 1.5 kB / 2.022 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.003065/6.275, allocations: 0.8157 MB / 2.023 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/6.275, allocations: 110.5 kB / 2.023 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/6.277, allocations: 1.165 MB / 2.024 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/6.278, allocations: 28.52 kB / 2.024 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/6.279, allocations: 0.8987 MB / 2.025 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/6.279, allocations: 230 kB / 2.026 GB, free: 105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.795e-05/6.279, allocations: 2 kB / 2.026 GB, free: 105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001146/6.279, allocations: 344.1 kB / 2.026 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007572/6.28, allocations: 315.3 kB / 2.026 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009813/6.281, allocations: 0.7481 MB / 2.027 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/6.283, allocations: 499.9 kB / 2.027 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/6.283, allocations: 3.344 kB / 2.027 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004135/6.287, allocations: 1.188 MB / 2.029 GB, free: 104 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009724/6.288, allocations: 4.723 MB / 2.033 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/6.288, allocations: 13.97 kB / 2.033 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.321e-05/6.288, allocations: 18.47 kB / 2.033 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/6.29, allocations: 291.3 kB / 2.033 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.452e-05/6.29, allocations: 27.53 kB / 2.033 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/6.293, allocations: 132.4 kB / 2.034 GB, free: 99.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/6.293, allocations: 62.66 kB / 2.034 GB, free: 99.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/6.293, allocations: 3.812 kB / 2.034 GB, free: 99.04 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003687/6.297, allocations: 0.9699 MB / 2.035 GB, free: 99.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/6.297, allocations: 13.72 kB / 2.035 GB, free: 99.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/6.297, allocations: 24.22 kB / 2.035 GB, free: 99.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/6.298, allocations: 284.9 kB / 2.035 GB, free: 99.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.147e-05/6.299, allocations: 26.12 kB / 2.035 GB, free: 99.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/6.301, allocations: 126.2 kB / 2.035 GB, free: 99.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/6.301, allocations: 59.03 kB / 2.035 GB, free: 99.02 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.000381/6.301, allocations: 144.7 kB / 2.035 GB, free: 98.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/6.302, allocations: 166.8 kB / 2.035 GB, free: 98.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/6.305, allocations: 1.042 MB / 2.036 GB, free: 98.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/6.305, allocations: 11.45 kB / 2.036 GB, free: 98.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.887e-06/6.305, allocations: 1.5 kB / 2.036 GB, free: 98.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/6.308, allocations: 0.9517 MB / 2.037 GB, free: 98.38 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.006696/6.314, allocations: 2.316 MB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.084e-06/6.314, allocations: 0.5 kB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/6.316, allocations: 169.3 kB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/6.316, allocations: 6.375 kB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.696e-05/6.316, allocations: 23.34 kB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.059e-06/6.316, allocations: 3.281 kB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.503e-06/6.316, allocations: 3.688 kB / 2.04 GB, free: 98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/6.319, allocations: 1.455 MB / 2.041 GB, free: 97.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000937/6.32, allocations: 325.4 kB / 2.042 GB, free: 97.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/6.321, allocations: 9.453 kB / 2.042 GB, free: 97.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/6.322, allocations: 125 kB / 2.042 GB, free: 97.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/6.322, allocations: 56.55 kB / 2.042 GB, free: 97.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/6.323, allocations: 29 kB / 2.042 GB, free: 97.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001735/6.324, allocations: 0.8709 MB / 2.043 GB, free: 97.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.002e-06/6.324, allocations: 0 / 2.043 GB, free: 97.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005253/6.33, allocations: 1.018 MB / 2.044 GB, free: 97.38 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.002547/6.332, allocations: 1.181 MB / 2.045 GB, free: 97.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003069/6.335, allocations: 1.551 MB / 2.046 GB, free: 96.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.314e-06/6.335, allocations: 0 / 2.046 GB, free: 96.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000829/6.336, allocations: 393.4 kB / 2.047 GB, free: 96.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/6.34, allocations: 0.71 MB / 2.047 GB, free: 96.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/6.349, allocations: 2.642 MB / 2.05 GB, free: 96.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/6.351, allocations: 1.406 MB / 2.051 GB, free: 95.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.007694/6.359, allocations: 0.5691 MB / 2.052 GB, free: 95.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009126/6.36, allocations: 127.4 kB / 2.052 GB, free: 95.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.363e-06/6.36, allocations: 0 / 2.052 GB, free: 95.56 MB / 0.8386 GB Notification: Performance of Templates: time 0.1113/6.471, allocations: 35.65 MB / 2.087 GB, free: 94.26 MB / 0.8386 GB