Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.3/2.3, allocations: 252.6 MB / 265.2 MB, free: 5.691 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 185.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.5753 GB, free: 10.47 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 94.06 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.376e-05, allocations: 11.98 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1892, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.897/2.086, allocations: 435.3 MB / 1.32 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/2.086, allocations: 94.05 kB / 1.32 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.492/5.578, allocations: 0.6744 GB / 1.994 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.327e-06/5.578, allocations: 0 / 1.994 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003001/5.579, allocations: 39.91 kB / 1.994 GB, free: 165.2 MB / 0.8698 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.00519/5.584, allocations: 1.71 MB / 1.996 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/5.584, allocations: 17.41 kB / 1.996 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/5.587, allocations: 343.2 kB / 1.997 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/5.615, allocations: 8.379 MB / 2.005 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.039e-05/5.615, allocations: 68.84 kB / 2.005 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/5.615, allocations: 89.09 kB / 2.005 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/5.618, allocations: 0.9702 MB / 2.006 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/5.618, allocations: 3.828 kB / 2.006 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/5.618, allocations: 39.84 kB / 2.006 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/5.618, allocations: 21.31 kB / 2.006 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/5.62, allocations: 0.6489 MB / 2.006 GB, free: 163.5 MB / 0.8698 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.008946/5.628, allocations: 4.736 MB / 2.011 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/5.63, allocations: 433.4 kB / 2.012 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/5.63, allocations: 242.1 kB / 2.012 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003353/5.634, allocations: 1.675 MB / 2.013 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007742/5.634, allocations: 388.3 kB / 2.014 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006933/5.635, allocations: 75.95 kB / 2.014 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.917e-06/5.635, allocations: 3.5 kB / 2.014 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001834/5.637, allocations: 0.6761 MB / 2.014 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/5.637, allocations: 114.7 kB / 2.015 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/5.639, allocations: 1.1 MB / 2.016 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/5.639, allocations: 40.11 kB / 2.016 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/5.64, allocations: 0.6466 MB / 2.016 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/5.64, allocations: 162.3 kB / 2.016 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/5.64, allocations: 11.44 kB / 2.017 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/5.64, allocations: 336.4 kB / 2.017 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/5.641, allocations: 207.4 kB / 2.017 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/5.642, allocations: 489.7 kB / 2.017 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/5.642, allocations: 305.6 kB / 2.018 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/5.642, allocations: 0 / 2.018 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002549/5.645, allocations: 0.9008 MB / 2.019 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000768/5.646, allocations: 2.788 MB / 2.021 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/5.646, allocations: 6.562 kB / 2.021 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/5.646, allocations: 83.27 kB / 2.021 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.648, allocations: 163.3 kB / 2.022 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/5.648, allocations: 1.123 MB / 2.023 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/5.65, allocations: 85.64 kB / 2.023 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/5.65, allocations: 45.03 kB / 2.023 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/5.65, allocations: 3.25 kB / 2.023 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001877/5.652, allocations: 0.7527 MB / 2.024 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/5.652, allocations: 10.06 kB / 2.024 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/5.653, allocations: 82.95 kB / 2.024 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/5.654, allocations: 148.5 kB / 2.024 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/5.654, allocations: 1.132 MB / 2.025 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/5.656, allocations: 77.95 kB / 2.025 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/5.656, allocations: 48.86 kB / 2.025 GB, free: 153.3 MB / 0.8698 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 (70): * Single equations (assignments): 66 * 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.0002982/5.656, allocations: 177.1 kB / 2.025 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/5.657, allocations: 145.1 kB / 2.025 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/5.659, allocations: 0.8971 MB / 2.026 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/5.659, allocations: 5.531 kB / 2.026 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/5.659, allocations: 3.234 kB / 2.026 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/5.659, allocations: 3.531 kB / 2.026 GB, free: 153 MB / 0.8698 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.004237/5.663, allocations: 1.998 MB / 2.028 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/5.663, allocations: 0 / 2.028 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/5.664, allocations: 105.5 kB / 2.028 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/5.665, allocations: 80.94 kB / 2.028 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/5.665, allocations: 18.05 kB / 2.028 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006305/5.665, allocations: 1.12 MB / 2.029 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/5.666, allocations: 3.656 kB / 2.029 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/5.668, allocations: 1.061 MB / 2.031 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/5.668, allocations: 296.7 kB / 2.031 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/5.669, allocations: 11.34 kB / 2.031 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/5.67, allocations: 81.86 kB / 2.031 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/5.67, allocations: 38.64 kB / 2.031 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/5.67, allocations: 32.75 kB / 2.031 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0017/5.672, allocations: 0.8554 MB / 2.032 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/5.672, allocations: 6 kB / 2.032 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003231/5.675, allocations: 0.7614 MB / 2.033 GB, free: 150.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (45): * Single equations (assignments): 38 * 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.002205/5.677, allocations: 1.004 MB / 2.034 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00258/5.68, allocations: 1.116 MB / 2.035 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/5.68, allocations: 0 / 2.035 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/5.681, allocations: 373.2 kB / 2.035 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004537/5.685, allocations: 0.6208 MB / 2.036 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/5.689, allocations: 1.653 MB / 2.037 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/5.69, allocations: 1.243 MB / 2.038 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003022/5.693, allocations: 429.5 kB / 2.039 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/5.694, allocations: 75.66 kB / 2.039 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/5.694, allocations: 0 / 2.039 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.08216/5.776, allocations: 35.05 MB / 2.073 GB, free: 147.2 MB / 0.8698 GB