Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.929/4.929, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 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.002744/0.002744, allocations: 360 kB / 0.6447 GB, free: 185.7 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.227/4.227, allocations: 410.7 MB / 1.113 GB, free: 6.043 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.001868/0.001868, allocations: 194.8 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006491/0.0006494, allocations: 12 kB / 1.349 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6986, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.205/1.904, allocations: 421.5 MB / 1.873 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1499/2.054, allocations: 84.1 MB / 1.955 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.021/2.075, allocations: 425.2 kB / 1.955 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.02379/2.099, allocations: 5.141 MB / 1.96 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0702/2.169, allocations: 16.7 MB / 1.977 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.04863/2.218, allocations: 11.18 MB / 1.988 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.06963/2.287, allocations: 39.25 MB / 2.026 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02845/2.316, allocations: 8.919 MB / 2.035 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03226/2.348, allocations: 10.28 MB / 2.045 GB, free: 8.348 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02216/2.371, allocations: 8.699 MB / 2.053 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.00459/2.375, allocations: 456 kB / 2.054 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02082/2.396, allocations: 3.601 MB / 2.057 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.006895/2.403, allocations: 2.415 MB / 2.06 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.007973/2.411, allocations: 2.722 MB / 2.062 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0327/2.444, allocations: 16.61 MB / 2.078 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/2.444, allocations: 0 / 2.078 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.256e-06/2.444, allocations: 0 / 2.078 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006789/2.445, allocations: 4 kB / 2.078 GB, free: 5.742 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03925/2.484, allocations: 11.76 MB / 2.09 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/2.484, allocations: 15.62 kB / 2.09 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02113/2.505, allocations: 2.706 MB / 2.093 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03841/2.543, allocations: 11.44 MB / 2.104 GB, free: 11.58 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005506/2.549, allocations: 1.083 MB / 2.105 GB, free: 10.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002641/2.552, allocations: 0.7343 MB / 2.106 GB, free: 9.762 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0317/2.583, allocations: 9.238 MB / 2.115 GB, free: 152 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/2.584, allocations: 23.8 kB / 2.115 GB, free: 128 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/2.585, allocations: 308 kB / 2.115 GB, free: 15.82 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/2.585, allocations: 198.9 kB / 2.115 GB, free: 15.63 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03182/2.617, allocations: 7.448 MB / 2.122 GB, free: 8.168 MB / 1.026 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 1.334/3.951, allocations: 48.37 MB / 2.17 GB, free: 380.3 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/3.974, allocations: 4.876 MB / 2.174 GB, free: 378 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01083/3.985, allocations: 2.73 MB / 2.177 GB, free: 376.7 MB / 1.026 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 evalFunc (simulation): time 0.03144/4.017, allocations: 10.85 MB / 2.188 GB, free: 367.6 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01158/4.028, allocations: 2.676 MB / 2.19 GB, free: 366.2 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007196/4.036, allocations: 0.5445 MB / 2.191 GB, free: 366 MB / 1.026 GB Notification: Performance of pre-optimization done (n=327): time 1.696e-05/4.036, allocations: 0 / 2.191 GB, free: 366 MB / 1.026 GB Notification: Performance of matching and sorting (n=327): time 0.03629/4.072, allocations: 7.437 MB / 2.198 GB, free: 362.4 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/4.072, allocations: 85.11 kB / 2.198 GB, free: 362.3 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02502/4.097, allocations: 9.571 MB / 2.207 GB, free: 357.4 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.00126/4.098, allocations: 119.4 kB / 2.208 GB, free: 357.3 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007192/4.106, allocations: 5.579 MB / 2.213 GB, free: 352.7 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/4.108, allocations: 1.131 MB / 2.214 GB, free: 351.7 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/4.108, allocations: 101.8 kB / 2.214 GB, free: 351.6 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003166/4.109, allocations: 496.5 kB / 2.215 GB, free: 351.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009846/4.119, allocations: 2.238 MB / 2.217 GB, free: 350.1 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/4.13, allocations: 4.302 MB / 2.221 GB, free: 344.9 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/4.141, allocations: 2.763 MB / 2.224 GB, free: 342.3 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.902e-05/4.141, allocations: 16 kB / 2.224 GB, free: 342.3 MB / 1.026 GB Notification: Performance of matching and sorting (n=618) (initialization): time 0.02807/4.169, allocations: 7.254 MB / 2.231 GB, free: 335.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008849/4.17, allocations: 1.633 MB / 2.232 GB, free: 332.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.616e-05/4.17, allocations: 48 kB / 2.232 GB, free: 332.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009304/4.171, allocations: 255.8 kB / 2.233 GB, free: 332.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/4.181, allocations: 1.309 MB / 2.234 GB, free: 331.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/4.186, allocations: 3.896 MB / 2.238 GB, free: 327.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01622/4.202, allocations: 0.9509 MB / 2.239 GB, free: 326.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/4.203, allocations: 263.8 kB / 2.239 GB, free: 326 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/4.203, allocations: 7.938 kB / 2.239 GB, free: 326 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0222/4.225, allocations: 6.095 MB / 2.245 GB, free: 319.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/4.226, allocations: 52 kB / 2.245 GB, free: 319.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/4.226, allocations: 268 kB / 2.245 GB, free: 319.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009337/4.236, allocations: 1.244 MB / 2.246 GB, free: 318.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/4.24, allocations: 3.882 MB / 2.25 GB, free: 314.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01479/4.255, allocations: 0.9053 MB / 2.251 GB, free: 313.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/4.256, allocations: 251.9 kB / 2.251 GB, free: 313.1 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 596 * Array equations: 4 * Algorithm blocks: 0 * 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: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008028/4.264, allocations: 2.564 MB / 2.254 GB, free: 310.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003234/4.268, allocations: 0.9799 MB / 2.255 GB, free: 309.5 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02591/4.294, allocations: 6.083 MB / 2.261 GB, free: 303.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01933/4.313, allocations: 4.525 MB / 2.265 GB, free: 298.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/4.313, allocations: 0 / 2.265 GB, free: 298.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007116/4.32, allocations: 1.847 MB / 2.267 GB, free: 297 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003142/4.323, allocations: 64 kB / 2.267 GB, free: 296.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01508/4.338, allocations: 0.8779 MB / 2.268 GB, free: 296 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009142/4.339, allocations: 222.4 kB / 2.268 GB, free: 295.8 MB / 1.026 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02637/4.366, allocations: 5.596 MB / 2.274 GB, free: 290.3 MB / 1.026 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03267/4.399, allocations: 8.649 MB / 2.282 GB, free: 281.5 MB / 1.026 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009066/4.408, allocations: 2.384 MB / 2.284 GB, free: 279.1 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01569/4.423, allocations: 6.423 MB / 2.291 GB, free: 272.8 MB / 1.026 GB Notification: Performance of Backend: time 1.062e-06/4.423, allocations: 0 / 2.291 GB, free: 272.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03733/4.461, allocations: 9.618 MB / 2.3 GB, free: 263.8 MB / 1.026 GB Notification: Performance of SimCode: time 0.07211/4.533, allocations: 25.48 MB / 2.325 GB, free: 238.4 MB / 1.026 GB Notification: Performance of Templates: time 0.4729/5.006, allocations: 205 MB / 2.525 GB, free: 35.32 MB / 1.026 GB