Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.863/2.863, allocations: 287.5 MB / 302.4 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 186.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009459/0.0009456, allocations: 94.31 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006855/0.0006858, allocations: 11.09 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.236, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 1.231/1.467, allocations: 327.2 MB / 1.298 GB, free: 4.551 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.08868/1.555, allocations: 38.69 MB / 1.336 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008495/1.564, allocations: 139.1 kB / 1.336 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.01015/1.574, allocations: 1.84 MB / 1.338 GB, free: 11.79 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.02889/1.603, allocations: 6.316 MB / 1.344 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02228/1.625, allocations: 4.614 MB / 1.348 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.02926/1.655, allocations: 13.6 MB / 1.362 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/1.667, allocations: 3.746 MB / 1.365 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/1.685, allocations: 4.703 MB / 1.37 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/1.695, allocations: 3.532 MB / 1.373 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.002343/1.698, allocations: 207.9 kB / 1.374 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.022/1.72, allocations: 5.021 MB / 1.378 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004078/1.724, allocations: 1.362 MB / 1.38 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004176/1.728, allocations: 1.151 MB / 1.381 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0203/1.748, allocations: 8.3 MB / 1.389 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.748, allocations: 0 / 1.389 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.357e-06/1.748, allocations: 0 / 1.389 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003444/1.749, allocations: 0 / 1.389 GB, free: 7.086 MB / 0.9167 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.02421/1.773, allocations: 5.783 MB / 1.395 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.773, allocations: 8.031 kB / 1.395 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002691/1.776, allocations: 0.5314 MB / 1.395 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03873/1.815, allocations: 3.392 MB / 1.398 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.83, allocations: 3.958 MB / 1.402 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002296/1.832, allocations: 0.5121 MB / 1.403 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/1.834, allocations: 415.9 kB / 1.403 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/1.861, allocations: 5.708 MB / 1.409 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/1.861, allocations: 0 / 1.409 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/1.862, allocations: 164 kB / 1.409 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/1.862, allocations: 159.8 kB / 1.409 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03296/1.895, allocations: 6.428 MB / 1.415 GB, free: 11.79 MB / 0.948 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.75/2.645, allocations: 22.02 MB / 1.437 GB, free: 335.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/2.666, allocations: 4.43 MB / 1.441 GB, free: 333.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0128/2.679, allocations: 2.48 MB / 1.444 GB, free: 332.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03049/2.71, allocations: 8.105 MB / 1.452 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01421/2.724, allocations: 2.714 MB / 1.454 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00384/2.728, allocations: 289.4 kB / 1.454 GB, free: 326.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=307): time 1.703e-05/2.728, allocations: 0 / 1.454 GB, free: 326.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=307): time 0.04612/2.774, allocations: 7.572 MB / 1.462 GB, free: 324.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/2.774, allocations: 315.9 kB / 1.462 GB, free: 323.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/2.785, allocations: 3.591 MB / 1.466 GB, free: 322.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001246/2.787, allocations: 95.03 kB / 1.466 GB, free: 322.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003286/2.79, allocations: 2.068 MB / 1.468 GB, free: 320.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002383/2.792, allocations: 1.038 MB / 1.469 GB, free: 320.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006116/2.793, allocations: 65.38 kB / 1.469 GB, free: 320 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000394/2.793, allocations: 440 kB / 1.469 GB, free: 319.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01276/2.806, allocations: 2.239 MB / 1.471 GB, free: 319 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01436/2.821, allocations: 3.016 MB / 1.474 GB, free: 317.4 MB / 0.948 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.01785/2.839, allocations: 3.14 MB / 1.478 GB, free: 315.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-05/2.839, allocations: 4.469 kB / 1.478 GB, free: 315.7 MB / 0.948 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