Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.97/4.97, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002606/0.002606, allocations: 360.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.324/4.324, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001811/0.00181, allocations: 180.4 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004686, allocations: 8 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7534, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.993, allocations: 443 MB / 1.894 GB, free: 95.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/1.993, allocations: 108.4 kB / 1.894 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.8/5.793, allocations: 0.6883 GB / 2.582 GB, free: 196.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254e-06/5.793, allocations: 1.656 kB / 2.582 GB, free: 196.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002977/5.794, allocations: 41.53 kB / 2.582 GB, free: 196.5 MB / 0.948 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.008417/5.802, allocations: 2.132 MB / 2.584 GB, free: 195.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/5.802, allocations: 14.56 kB / 2.584 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/5.805, allocations: 352.3 kB / 2.585 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02613/5.832, allocations: 7.847 MB / 2.592 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/5.832, allocations: 69.86 kB / 2.593 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/5.832, allocations: 93.38 kB / 2.593 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/5.835, allocations: 1.04 MB / 2.594 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/5.835, allocations: 10.5 kB / 2.594 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/5.836, allocations: 34.25 kB / 2.594 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/5.836, allocations: 24.06 kB / 2.594 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/5.839, allocations: 0.7732 MB / 2.594 GB, free: 194.6 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009598/5.849, allocations: 4.683 MB / 2.599 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/5.851, allocations: 0.5272 MB / 2.6 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/5.852, allocations: 297.4 kB / 2.6 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003462/5.856, allocations: 1.655 MB / 2.601 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001433/5.857, allocations: 428.9 kB / 2.602 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008208/5.858, allocations: 84.11 kB / 2.602 GB, free: 190.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.818e-06/5.858, allocations: 0 / 2.602 GB, free: 190.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.005278/5.863, allocations: 1.255 MB / 2.603 GB, free: 189.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/5.864, allocations: 106.7 kB / 2.603 GB, free: 189.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/5.866, allocations: 1.223 MB / 2.604 GB, free: 189 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002413/5.866, allocations: 43.86 kB / 2.604 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/5.867, allocations: 0.6461 MB / 2.605 GB, free: 188.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/5.868, allocations: 153.8 kB / 2.605 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/5.868, allocations: 11.94 kB / 2.605 GB, free: 188.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/5.868, allocations: 332.6 kB / 2.606 GB, free: 188 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/5.869, allocations: 272.7 kB / 2.606 GB, free: 187.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/5.87, allocations: 0.5507 MB / 2.606 GB, free: 187.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/5.872, allocations: 358.4 kB / 2.607 GB, free: 187.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/5.872, allocations: 0 / 2.607 GB, free: 187.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003823/5.876, allocations: 1.026 MB / 2.608 GB, free: 187 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/5.876, allocations: 322.8 kB / 2.608 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/5.876, allocations: 8.344 kB / 2.608 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/5.877, allocations: 87.3 kB / 2.608 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/5.878, allocations: 161.5 kB / 2.608 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/5.879, allocations: 1.131 MB / 2.609 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/5.88, allocations: 74.58 kB / 2.609 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/5.881, allocations: 46.5 kB / 2.61 GB, free: 185.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/5.881, allocations: 6.406 kB / 2.61 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003174/5.884, allocations: 0.8678 MB / 2.61 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/5.884, allocations: 7.188 kB / 2.61 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/5.884, allocations: 93.16 kB / 2.61 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/5.885, allocations: 149.2 kB / 2.611 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007191/5.886, allocations: 1.126 MB / 2.612 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/5.888, allocations: 80.97 kB / 2.612 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/5.888, allocations: 44.77 kB / 2.612 GB, free: 184.1 MB / 0.948 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 () * Number of clocked 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.001167/5.889, allocations: 495.2 kB / 2.612 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/5.89, allocations: 139 kB / 2.612 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/5.894, allocations: 1.022 MB / 2.613 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/5.894, allocations: 3.781 kB / 2.613 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/5.894, allocations: 0 / 2.613 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/5.894, allocations: 9.281 kB / 2.613 GB, free: 183.2 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00636/5.9, allocations: 2.092 MB / 2.615 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/5.9, allocations: 0 / 2.615 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/5.901, allocations: 104.3 kB / 2.616 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/5.902, allocations: 76.45 kB / 2.616 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/5.902, allocations: 22.42 kB / 2.616 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007077/5.902, allocations: 1.117 MB / 2.617 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/5.902, allocations: 0.6562 kB / 2.617 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/5.906, allocations: 1.12 MB / 2.618 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008605/5.907, allocations: 292.5 kB / 2.618 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/5.907, allocations: 11.19 kB / 2.618 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/5.909, allocations: 83.16 kB / 2.618 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/5.909, allocations: 36.77 kB / 2.618 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/5.909, allocations: 41.66 kB / 2.618 GB, free: 180.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001893/5.911, allocations: 0.8414 MB / 2.619 GB, free: 179.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.4e-07/5.911, allocations: 0 / 2.619 GB, free: 179.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003622/5.915, allocations: 0.7398 MB / 2.62 GB, free: 179.7 MB / 0.948 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) * Number of clocked states: 0 () * 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.002424/5.917, allocations: 0.9628 MB / 2.621 GB, free: 179.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004643/5.922, allocations: 1.246 MB / 2.622 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/5.922, allocations: 0 / 2.622 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/5.923, allocations: 434.6 kB / 2.622 GB, free: 178.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/5.929, allocations: 0.6213 MB / 2.623 GB, free: 178.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/5.935, allocations: 2.662 MB / 2.626 GB, free: 177.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/5.936, allocations: 1.243 MB / 2.627 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002313/5.938, allocations: 291.8 kB / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/5.939, allocations: 98.11 kB / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/5.939, allocations: 0 / 2.627 GB, free: 176.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07637/6.015, allocations: 30.38 MB / 2.657 GB, free: 153.3 MB / 0.948 GB