Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_AirSource_Examples_MultiStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_AirSource_Examples_MultiStage",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.0007775/0.0007774, allocations: 86.8 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.0008284/0.0008284, 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 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.653/2.653, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003488, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6917, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.2151/0.9069, allocations: 187.3 MB / 1.164 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02837/0.9353, allocations: 19.83 MB / 1.183 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.9379, allocations: 43.69 kB / 1.183 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.941, allocations: 0.9868 MB / 1.184 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.9465, allocations: 1.885 MB / 1.186 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007222/0.9538, allocations: 2.507 MB / 1.189 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0093/0.9631, allocations: 7.072 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004357/0.9675, allocations: 2.249 MB / 1.198 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005448/0.973, allocations: 2.401 MB / 1.2 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.978, allocations: 2.464 MB / 1.203 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001248/0.9793, allocations: 304 kB / 1.203 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007189/0.9865, allocations: 2.363 MB / 1.205 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003087/0.9896, allocations: 1.956 MB / 1.207 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.9926, allocations: 1.288 MB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/1.009, allocations: 12.94 MB / 1.221 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/1.009, allocations: 0 / 1.221 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.785e-06/1.009, allocations: 0 / 1.221 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003738/1.01, allocations: 4 kB / 1.221 GB, free: 15.96 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.01983/1.029, allocations: 6.314 MB / 1.227 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.029, allocations: 12.03 kB / 1.227 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001286/1.031, allocations: 243.7 kB / 1.227 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03093/1.062, allocations: 4.066 MB / 1.231 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/1.077, allocations: 6.537 MB / 1.238 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008532/1.078, allocations: 451.3 kB / 1.238 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/1.079, allocations: 180 kB / 1.238 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/1.096, allocations: 6.637 MB / 1.245 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/1.096, allocations: 0 / 1.245 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008209/1.097, allocations: 67.98 kB / 1.245 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.061e-05/1.097, allocations: 62.98 kB / 1.245 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6188/1.716, allocations: 8.949 MB / 1.254 GB, free: 254.1 MB / 0.9981 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.05564/1.771, allocations: 24.32 MB / 1.277 GB, free: 241.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02448/1.796, allocations: 8.809 MB / 1.286 GB, free: 236.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008992/1.805, allocations: 4.154 MB / 1.29 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/1.806, allocations: 0.7698 MB / 1.291 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01079/1.816, allocations: 5.524 MB / 1.296 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=185): time 5.51e-06/1.816, allocations: 0 / 1.296 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187): time 0.07555/1.892, allocations: 22.71 MB / 1.318 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/1.892, allocations: 148.3 kB / 1.319 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/1.909, allocations: 10.12 MB / 1.328 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.91, allocations: 117.7 kB / 1.329 GB, free: 193 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.913, allocations: 2.353 MB / 1.331 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.914, allocations: 0.5895 MB / 1.331 GB, free: 190 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/1.915, allocations: 44 kB / 1.331 GB, free: 190 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.915, allocations: 382 kB / 1.332 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01/1.925, allocations: 5.115 MB / 1.337 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/1.935, allocations: 5.29 MB / 1.342 GB, free: 179.1 MB / 0.9981 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.3205/2.256, allocations: 143.9 MB / 1.483 GB, free: 34.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/2.256, allocations: 4 kB / 1.483 GB, free: 34.93 MB / 0.9981 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