Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 91.92 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.00141/0.00141, 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 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 11.98 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7069, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.2016/0.9086, allocations: 186.9 MB / 1.137 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.9329, allocations: 19.68 MB / 1.156 GB, free: 360 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.935, allocations: 39.75 kB / 1.156 GB, free: 320 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.9378, allocations: 0.9285 MB / 1.157 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.943, allocations: 1.834 MB / 1.159 GB, free: 13.54 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.006689/0.9497, allocations: 2.506 MB / 1.161 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007625/0.9574, allocations: 6.908 MB / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004028/0.9614, allocations: 2.2 MB / 1.17 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00474/0.9662, allocations: 2.343 MB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.9705, allocations: 2.398 MB / 1.175 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.972, allocations: 300 kB / 1.175 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007703/0.9797, allocations: 2.367 MB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.9823, allocations: 1.893 MB / 1.179 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002369/0.9847, allocations: 1.241 MB / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.9968, allocations: 12.67 MB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9968, allocations: 0 / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.647e-06/0.9968, allocations: 0 / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002694/0.9971, allocations: 3.938 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.01379/1.011, allocations: 6.05 MB / 1.199 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.011, allocations: 8.031 kB / 1.199 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0301/1.041, allocations: 4.043 MB / 1.203 GB, free: 400 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/1.06, allocations: 6.08 MB / 1.209 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/1.061, allocations: 451.2 kB / 1.209 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/1.063, allocations: 172 kB / 1.209 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/1.079, allocations: 6.628 MB / 1.216 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/1.079, allocations: 3.984 kB / 1.216 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006656/1.08, allocations: 67.98 kB / 1.216 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/1.08, allocations: 62.86 kB / 1.216 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/1.102, allocations: 8.998 MB / 1.225 GB, free: 9.766 MB / 0.9825 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.0475/1.149, allocations: 24.23 MB / 1.248 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5874/1.737, allocations: 8.874 MB / 1.257 GB, free: 269.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01083/1.747, allocations: 4.217 MB / 1.261 GB, free: 267.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/1.748, allocations: 0.7742 MB / 1.262 GB, free: 267.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.013/1.761, allocations: 5.592 MB / 1.267 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=186): time 5.731e-06/1.761, allocations: 0 / 1.267 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=188): time 0.08004/1.841, allocations: 22.9 MB / 1.29 GB, free: 253.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/1.841, allocations: 154.6 kB / 1.29 GB, free: 253.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01867/1.86, allocations: 9.991 MB / 1.3 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.861, allocations: 113.7 kB / 1.3 GB, free: 243 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003005/1.864, allocations: 2.232 MB / 1.302 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.865, allocations: 0.5947 MB / 1.303 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007682/1.866, allocations: 36 kB / 1.303 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.866, allocations: 394 kB / 1.303 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/1.877, allocations: 5.163 MB / 1.308 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.887, allocations: 5.362 MB / 1.313 GB, free: 229.2 MB / 0.9981 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.3067/2.194, allocations: 144.2 MB / 1.454 GB, free: 84.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.194, allocations: 8 kB / 1.454 GB, free: 84.72 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