Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008481, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009643/0.0009644, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005292, allocations: 16.12 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2238, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.8225/1.046, allocations: 327.2 MB / 1.107 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0622/1.109, allocations: 38.68 MB / 1.145 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01002/1.119, allocations: 143.1 kB / 1.145 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008577/1.127, allocations: 1.84 MB / 1.147 GB, free: 11.9 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.02258/1.15, allocations: 6.314 MB / 1.153 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01566/1.166, allocations: 4.618 MB / 1.157 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02157/1.187, allocations: 13.6 MB / 1.17 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007776/1.195, allocations: 3.758 MB / 1.174 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/1.209, allocations: 4.695 MB / 1.179 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00778/1.216, allocations: 3.54 MB / 1.182 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00203/1.219, allocations: 204 kB / 1.182 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/1.235, allocations: 5.024 MB / 1.187 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003703/1.238, allocations: 1.37 MB / 1.189 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003393/1.242, allocations: 1.151 MB / 1.19 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.258, allocations: 8.281 MB / 1.198 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.258, allocations: 0 / 1.198 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.116e-06/1.258, allocations: 0 / 1.198 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003377/1.258, allocations: 0 / 1.198 GB, free: 7.199 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1020 * Number of variables: 1020 Notification: Performance of Generate backend data structure: time 0.01646/1.275, allocations: 5.787 MB / 1.203 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.275, allocations: 12.03 kB / 1.203 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02118/1.296, allocations: 3.384 MB / 1.207 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.307, allocations: 3.969 MB / 1.211 GB, free: 9.895 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/1.308, allocations: 0.5004 MB / 1.211 GB, free: 9.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/1.31, allocations: 427.8 kB / 1.212 GB, free: 8.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/1.328, allocations: 5.698 MB / 1.217 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.329, allocations: 7.938 kB / 1.217 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/1.33, allocations: 164 kB / 1.217 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/1.33, allocations: 159.8 kB / 1.217 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.349, allocations: 6.416 MB / 1.224 GB, free: 12.45 MB / 0.9356 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.04693/1.396, allocations: 22.03 MB / 1.245 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.407, allocations: 4.421 MB / 1.25 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006707/1.414, allocations: 2.476 MB / 1.252 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/1.432, allocations: 8.081 MB / 1.26 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00701/1.439, allocations: 2.717 MB / 1.263 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002534/1.442, allocations: 285.1 kB / 1.263 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=306): time 1.072e-05/1.442, allocations: 0 / 1.263 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=306): time 0.02444/1.466, allocations: 7.561 MB / 1.27 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/1.466, allocations: 317.1 kB / 1.27 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008005/1.474, allocations: 3.59 MB / 1.274 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/1.475, allocations: 93.7 kB / 1.274 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.478, allocations: 2.046 MB / 1.276 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001976/1.48, allocations: 1.036 MB / 1.277 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00078/1.481, allocations: 68 kB / 1.277 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000348/1.481, allocations: 453.4 kB / 1.278 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006759/1.488, allocations: 2.259 MB / 1.28 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5315/2.019, allocations: 3.003 MB / 1.283 GB, free: 370.1 MB / 0.9825 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/2.03, allocations: 3.163 MB / 1.286 GB, free: 369.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/2.03, allocations: 4.312 kB / 1.286 GB, free: 369.9 MB / 0.9825 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated