Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001513/0.001513, allocations: 172.7 kB / 15.95 MB, free: 208 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.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.812/1.812, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005451/0.0005453, allocations: 12.97 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2209, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.8268/1.048, allocations: 327.3 MB / 1.107 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.06133/1.109, allocations: 38.71 MB / 1.145 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008042/1.117, allocations: 143.1 kB / 1.145 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007628/1.125, allocations: 1.836 MB / 1.147 GB, free: 11.7 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.02953/1.154, allocations: 6.322 MB / 1.153 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0159/1.17, allocations: 4.619 MB / 1.157 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02035/1.191, allocations: 13.63 MB / 1.171 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008141/1.199, allocations: 3.783 MB / 1.174 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01486/1.214, allocations: 4.707 MB / 1.179 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009641/1.223, allocations: 3.536 MB / 1.183 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002339/1.226, allocations: 208 kB / 1.183 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01601/1.242, allocations: 5.033 MB / 1.188 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003783/1.246, allocations: 1.366 MB / 1.189 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003958/1.25, allocations: 1.155 MB / 1.19 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0168/1.267, allocations: 8.323 MB / 1.198 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.267, allocations: 0 / 1.198 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.437e-06/1.267, allocations: 0 / 1.198 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003686/1.267, allocations: 0 / 1.198 GB, free: 6.863 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: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.01673/1.284, allocations: 5.848 MB / 1.204 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.284, allocations: 8.031 kB / 1.204 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002171/1.286, allocations: 0.5394 MB / 1.204 GB, free: 376 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/1.308, allocations: 3.384 MB / 1.208 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/1.318, allocations: 3.973 MB / 1.212 GB, free: 8.945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/1.32, allocations: 0.5083 MB / 1.212 GB, free: 8.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/1.321, allocations: 431.9 kB / 1.213 GB, free: 8.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.335, allocations: 5.724 MB / 1.218 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/1.335, allocations: 7.875 kB / 1.218 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000492/1.336, allocations: 176 kB / 1.218 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/1.336, allocations: 155.8 kB / 1.218 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/1.354, allocations: 6.44 MB / 1.225 GB, free: 11.4 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.04304/1.397, allocations: 21.93 MB / 1.246 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/1.408, allocations: 4.693 MB / 1.251 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006685/1.414, allocations: 2.601 MB / 1.253 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01911/1.434, allocations: 8.219 MB / 1.261 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007696/1.441, allocations: 2.855 MB / 1.264 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002707/1.444, allocations: 277.3 kB / 1.264 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=317): time 2.194e-05/1.444, allocations: 4 kB / 1.264 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=324): time 0.04684/1.491, allocations: 13.87 MB / 1.278 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002062/1.491, allocations: 295.6 kB / 1.278 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6054/2.097, allocations: 3.388 MB / 1.282 GB, free: 369.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/2.098, allocations: 95.61 kB / 1.282 GB, free: 369.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002748/2.101, allocations: 2.055 MB / 1.284 GB, free: 369.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002026/2.103, allocations: 1.09 MB / 1.285 GB, free: 369.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/2.103, allocations: 70.06 kB / 1.285 GB, free: 369.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002765/2.103, allocations: 442.3 kB / 1.285 GB, free: 368.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00654/2.11, allocations: 2.287 MB / 1.287 GB, free: 368.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006702/2.117, allocations: 3.053 MB / 1.29 GB, free: 367.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.009154/2.126, allocations: 3.193 MB / 1.293 GB, free: 365.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/2.126, allocations: 7.219 kB / 1.294 GB, free: 365.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