Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.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.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.604/4.604, allocations: 0.5623 GB / 0.5775 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00264/0.00264, allocations: 359.2 kB / 0.6446 GB, free: 21.73 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.359/4.359, allocations: 410.7 MB / 1.113 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002008/0.002007, allocations: 183.9 kB / 1.226 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006628, allocations: 10.59 kB / 1.349 GB, free: 320.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2413, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.592/6.834, allocations: 1.802 GB / 3.263 GB, free: 54.27 MB / 1.323 GB Notification: Performance of NFInst.instExpressions: time 2.557/9.391, allocations: 0.5205 GB / 3.784 GB, free: 11.75 MB / 1.526 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1069/9.498, allocations: 2.029 MB / 3.785 GB, free: 11.75 MB / 1.526 GB Notification: Performance of NFTyping.typeComponents: time 0.1163/9.614, allocations: 23.4 MB / 3.808 GB, free: 11.71 MB / 1.526 GB Notification: Performance of NFTyping.typeBindings: time 0.3422/9.957, allocations: 78.33 MB / 3.885 GB, free: 15.24 MB / 1.557 GB Notification: Performance of NFTyping.typeClassSections: time 0.216/10.17, allocations: 49.98 MB / 3.934 GB, free: 2.914 MB / 1.557 GB Notification: Performance of NFFlatten.flatten: time 4.101/14.27, allocations: 375.9 MB / 4.301 GB, free: 183.3 MB / 1.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1284/14.4, allocations: 41.11 MB / 4.341 GB, free: 179.2 MB / 1.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1395/14.54, allocations: 44.99 MB / 4.385 GB, free: 179 MB / 1.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09458/14.64, allocations: 36.59 MB / 4.421 GB, free: 178.8 MB / 1.823 GB Notification: Performance of NFPackage.collectConstants: time 0.023/14.66, allocations: 1.991 MB / 4.422 GB, free: 178.8 MB / 1.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09358/14.75, allocations: 15.38 MB / 4.437 GB, free: 178.8 MB / 1.823 GB Notification: Performance of NFScalarize.scalarize: time 0.03065/14.78, allocations: 10.87 MB / 4.448 GB, free: 178.8 MB / 1.823 GB Notification: Performance of NFVerifyModel.verify: time 0.03392/14.82, allocations: 12.45 MB / 4.46 GB, free: 178.8 MB / 1.823 GB Notification: Performance of NFConvertDAE.convert: time 0.1378/14.96, allocations: 81.1 MB / 4.539 GB, free: 161.6 MB / 1.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/14.96, allocations: 0 / 4.539 GB, free: 161.6 MB / 1.823 GB Notification: Performance of FrontEnd: time 2.775e-06/14.96, allocations: 0 / 4.539 GB, free: 161.6 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.003151/14.96, allocations: 0 / 4.539 GB, free: 161.6 MB / 1.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8753 * Number of variables: 8753 Notification: Performance of Generate backend data structure: time 0.1733/15.13, allocations: 52.98 MB / 4.591 GB, free: 122 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/15.13, allocations: 8.031 kB / 4.591 GB, free: 122 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1324/15.26, allocations: 16.76 MB / 4.608 GB, free: 105.2 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.17/15.43, allocations: 52.96 MB / 4.659 GB, free: 73.95 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03005/15.47, allocations: 5.827 MB / 4.665 GB, free: 69.29 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01506/15.48, allocations: 3.545 MB / 4.668 GB, free: 66.88 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1755/15.66, allocations: 44.61 MB / 4.712 GB, free: 35.09 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002057/15.66, allocations: 85.69 kB / 4.712 GB, free: 35.05 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01449/15.67, allocations: 1.426 MB / 4.713 GB, free: 34.71 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/15.67, allocations: 0.8595 MB / 4.714 GB, free: 33.86 MB / 1.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1748/15.85, allocations: 39.63 MB / 4.753 GB, free: 7.523 MB / 1.823 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.5006/16.35, allocations: 209.7 MB / 4.958 GB, free: 1.688 MB / 1.995 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2462/16.6, allocations: 42.63 MB / 4.999 GB, free: 7.645 MB / 2.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.577/18.17, allocations: 14.23 MB / 5.013 GB, free: 1.163 GB / 2.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1677/18.34, allocations: 65.29 MB / 5.077 GB, free: 1.136 GB / 2.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07294/18.41, allocations: 15.95 MB / 5.093 GB, free: 1.132 GB / 2.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02927/18.44, allocations: 2.807 MB / 5.095 GB, free: 1.132 GB / 2.042 GB Notification: Performance of pre-optimization done (n=1811): time 7.231e-05/18.44, allocations: 0 / 5.095 GB, free: 1.132 GB / 2.042 GB Notification: Performance of matching and sorting (n=1811): time 0.422/18.86, allocations: 64.83 MB / 5.159 GB, free: 1.118 GB / 2.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003718/18.86, allocations: 1.191 MB / 5.16 GB, free: 1.117 GB / 2.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1235/18.99, allocations: 43.12 MB / 5.202 GB, free: 1.101 GB / 2.042 GB Notification: Performance of collectPreVariables (initialization): time 0.006719/18.99, allocations: 0.4899 MB / 5.202 GB, free: 1.101 GB / 2.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.03892/19.03, allocations: 26.84 MB / 5.229 GB, free: 1.081 GB / 2.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.01155/19.05, allocations: 6.147 MB / 5.235 GB, free: 1.076 GB / 2.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005947/19.05, allocations: 469.3 kB / 5.235 GB, free: 1.076 GB / 2.042 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/19.05, allocations: 314.2 kB / 5.235 GB, free: 1.075 GB / 2.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06191/19.11, allocations: 12.85 MB / 5.248 GB, free: 1.071 GB / 2.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07386/19.19, allocations: 22.99 MB / 5.27 GB, free: 1.056 GB / 2.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06304/19.25, allocations: 14.87 MB / 5.285 GB, free: 1.05 GB / 2.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00023/19.25, allocations: 65.25 kB / 5.285 GB, free: 1.05 GB / 2.042 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.214/19.46, allocations: 44.08 MB / 5.328 GB, free: 1.02 GB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.004238/19.47, allocations: 7.155 MB / 5.335 GB, free: 1.01 GB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005992/19.47, allocations: 228 kB / 5.335 GB, free: 1.01 GB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03925/19.51, allocations: 7.632 MB / 5.343 GB, free: 1.004 GB / 2.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04962/19.56, allocations: 6.249 MB / 5.349 GB, free: 0.9985 GB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05241/19.61, allocations: 22.29 MB / 5.371 GB, free: 0.9776 GB / 2.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07374/19.68, allocations: 4.19 MB / 5.375 GB, free: 0.9744 GB / 2.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007488/19.69, allocations: 1.299 MB / 5.376 GB, free: 0.9733 GB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/19.69, allocations: 4 kB / 5.376 GB, free: 0.9733 GB / 2.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1904/19.88, allocations: 39.72 MB / 5.415 GB, free: 0.9349 GB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004967/19.88, allocations: 228 kB / 5.415 GB, free: 0.9347 GB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0386/19.92, allocations: 7.623 MB / 5.422 GB, free: 0.9274 GB / 2.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04742/19.97, allocations: 6.209 MB / 5.428 GB, free: 0.9213 GB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04948/20.02, allocations: 22.29 MB / 5.45 GB, free: 0.899 GB / 2.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06953/20.09, allocations: 4.179 MB / 5.454 GB, free: 0.8949 GB / 2.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007345/20.1, allocations: 1.271 MB / 5.456 GB, free: 0.8937 GB / 2.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1046 * Number of states: 0 () * Number of discrete variables: 53 ($whenCondition8,$PRE.ret2.loa.nextTimeEvent,$whenCondition7,$PRE.apa2.loa.nextTimeEvent,$whenCondition6,$PRE.larOff4.loa.nextTimeEvent,$whenCondition5,$PRE.larOff3.loa.nextTimeEvent,$whenCondition4,$PRE.apa1.loa.nextTimeEvent,$whenCondition3,$PRE.larOff2.loa.nextTimeEvent,$whenCondition2,$PRE.ret1.loa.nextTimeEvent,$whenCondition1,$PRE.larOff1.loa.nextTimeEvent,$whenCondition10,$whenCondition9,larOff1.loa.nextTimeEvent,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2757): * Single equations (assignments): 2709 * Array equations: 24 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.04045/20.14, allocations: 10.32 MB / 5.466 GB, free: 0.8836 GB / 2.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01653/20.15, allocations: 4.606 MB / 5.47 GB, free: 0.8791 GB / 2.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/20.38, allocations: 52.53 MB / 5.521 GB, free: 0.8281 GB / 2.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1816/20.56, allocations: 33.33 MB / 5.554 GB, free: 0.7955 GB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001949/20.56, allocations: 4 kB / 5.554 GB, free: 0.7955 GB / 2.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03216/20.6, allocations: 8.896 MB / 5.563 GB, free: 0.7867 GB / 2.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01727/20.61, allocations: 348 kB / 5.563 GB, free: 0.7864 GB / 2.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06742/20.68, allocations: 3.922 MB / 5.567 GB, free: 0.7825 GB / 2.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005026/20.69, allocations: 1.173 MB / 5.568 GB, free: 0.7814 GB / 2.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2241/20.91, allocations: 42 MB / 5.609 GB, free: 0.7406 GB / 2.042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2017/21.11, allocations: 50.97 MB / 5.659 GB, free: 0.6907 GB / 2.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.05512/21.17, allocations: 13.87 MB / 5.672 GB, free: 0.6771 GB / 2.042 GB Notification: Performance of sorting global known variables: time 0.07853/21.25, allocations: 29.24 MB / 5.701 GB, free: 0.6488 GB / 2.042 GB Notification: Performance of Backend: time 1.262e-06/21.25, allocations: 0 / 5.701 GB, free: 0.6488 GB / 2.042 GB Notification: Performance of simCode: created initialization part: time 0.207/21.45, allocations: 49.03 MB / 5.749 GB, free: 0.6029 GB / 2.042 GB Notification: Performance of SimCode: time 0.3139/21.77, allocations: 113 MB / 5.859 GB, free: 0.4929 GB / 2.042 GB Notification: Performance of Templates: time 3.86/25.63, allocations: 1 GB / 6.859 GB, free: 0.7683 GB / 2.042 GB