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 2.57/2.57, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 174.9 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 84.44 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004574, allocations: 14.66 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.05792/0.2133, allocations: 48.05 MB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02986/0.2432, allocations: 15.38 MB / 1.041 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.2456, allocations: 51.62 kB / 1.041 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.2492, allocations: 0.8904 MB / 1.042 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008212/0.2575, allocations: 2.202 MB / 1.044 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.2681, allocations: 2.822 MB / 1.047 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005469/0.2736, allocations: 2.268 MB / 1.049 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.2759, allocations: 1.022 MB / 1.05 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.2788, allocations: 1.102 MB / 1.051 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.2804, allocations: 0.6921 MB / 1.051 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.2807, allocations: 52 kB / 1.052 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.284, allocations: 1.084 MB / 1.053 GB, free: 412 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.2846, allocations: 302.8 kB / 1.053 GB, free: 108 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.2853, allocations: 364.9 kB / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004184/0.2895, allocations: 2.295 MB / 1.055 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2895, allocations: 0 / 1.055 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2895, allocations: 0 / 1.055 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.2895, allocations: 0 / 1.055 GB, free: 13.44 MB / 0.6823 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.004297/0.2939, allocations: 1.826 MB / 1.057 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2939, allocations: 12.03 kB / 1.057 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.2961, allocations: 397.6 kB / 1.058 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/0.2998, allocations: 1.457 MB / 1.059 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007916/0.3006, allocations: 201.9 kB / 1.059 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.3009, allocations: 84 kB / 1.059 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.3041, allocations: 1.103 MB / 1.06 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.3042, allocations: 3.938 kB / 1.06 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.3043, allocations: 40 kB / 1.06 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.3044, allocations: 20 kB / 1.06 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.3078, allocations: 0.9329 MB / 1.061 GB, free: 7.219 MB / 0.6823 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.01035/0.3181, allocations: 5.06 MB / 1.066 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.3209, allocations: 0.7085 MB / 1.067 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6233/0.9442, allocations: 1.812 MB / 1.069 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/0.9458, allocations: 476.6 kB / 1.069 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005293/0.9464, allocations: 83.16 kB / 1.069 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 4.015e-06/0.9464, allocations: 0 / 1.069 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.004212/0.9506, allocations: 1.248 MB / 1.071 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.9507, allocations: 85.03 kB / 1.071 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.9532, allocations: 1.325 MB / 1.072 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.9533, allocations: 39.77 kB / 1.072 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/0.954, allocations: 0.6594 MB / 1.073 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.9542, allocations: 147 kB / 1.073 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.9542, allocations: 11.53 kB / 1.073 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.9543, allocations: 332.5 kB / 1.073 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.9557, allocations: 362.9 kB / 1.073 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.9572, allocations: 0.6061 MB / 1.074 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.9586, allocations: 436.8 kB / 1.074 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.412e-06/0.9587, allocations: 2.094 kB / 1.074 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003669/0.9623, allocations: 1.134 MB / 1.076 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000565/0.9629, allocations: 2.701 MB / 1.078 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.963, allocations: 7.188 kB / 1.078 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/0.963, allocations: 14.48 kB / 1.078 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.9642, allocations: 197.8 kB / 1.078 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/0.9642, allocations: 20.25 kB / 1.078 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.9658, allocations: 123.3 kB / 1.079 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.9659, allocations: 39.98 kB / 1.079 GB, free: 84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.966, allocations: 4.938 kB / 1.079 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002987/0.9689, allocations: 0.9556 MB / 1.079 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.969, allocations: 10.75 kB / 1.08 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.969, allocations: 10.91 kB / 1.08 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/0.97, allocations: 189 kB / 1.08 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.97, allocations: 11.8 kB / 1.08 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.9714, allocations: 112.6 kB / 1.08 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.9715, allocations: 36.39 kB / 1.08 GB, free: 83.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (76): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009365/0.9725, allocations: 0.4911 MB / 1.08 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.9728, allocations: 135.2 kB / 1.08 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.9763, allocations: 1.063 MB / 1.081 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.9764, allocations: 4.984 kB / 1.081 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.9764, allocations: 1.031 kB / 1.081 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9764, allocations: 2.484 kB / 1.082 GB, free: 82.85 MB / 0.6823 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.005664/0.9821, allocations: 2.284 MB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.9821, allocations: 1.844 kB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/0.983, allocations: 134.5 kB / 1.084 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.983, allocations: 3.156 kB / 1.084 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.9831, allocations: 20.52 kB / 1.084 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.9831, allocations: 4.734 kB / 1.084 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.829e-06/0.9831, allocations: 9.234 kB / 1.084 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.9863, allocations: 1.16 MB / 1.085 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007309/0.9871, allocations: 320.9 kB / 1.085 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.9873, allocations: 14.2 kB / 1.085 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.9886, allocations: 126.5 kB / 1.085 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9888, allocations: 33.31 kB / 1.086 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.9889, allocations: 29.42 kB / 1.086 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001723/0.9906, allocations: 0.9155 MB / 1.086 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.59e-07/0.9906, allocations: 0 / 1.086 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002516/0.9932, allocations: 0.7097 MB / 1.087 GB, free: 80.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/0.9943, allocations: 471.8 kB / 1.088 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004494/0.9989, allocations: 1.473 MB / 1.089 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.9989, allocations: 1 kB / 1.089 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1, allocations: 495.4 kB / 1.089 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.004, allocations: 0.6224 MB / 1.09 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/1.01, allocations: 2.785 MB / 1.093 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.011, allocations: 1.238 MB / 1.094 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001988/1.013, allocations: 306.2 kB / 1.094 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/1.013, allocations: 108.3 kB / 1.094 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.556e-06/1.013, allocations: 0 / 1.094 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.07228/1.085, allocations: 26.89 MB / 1.121 GB, free: 64.86 MB / 0.6823 GB