Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 113.5 kB / 16.42 MB, free: 6.02 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.001578/0.001579, allocations: 187.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.6778, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1737/0.8516, allocations: 167.6 MB / 1.252 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.8637, allocations: 8.895 MB / 1.261 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.8648, allocations: 43.69 kB / 1.261 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.8663, allocations: 0.6445 MB / 1.262 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.8694, allocations: 1.531 MB / 1.263 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.8719, allocations: 1.191 MB / 1.264 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.8745, allocations: 2.704 MB / 1.267 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.8755, allocations: 0.9648 MB / 1.268 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.8771, allocations: 1.03 MB / 1.269 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.8782, allocations: 0.9961 MB / 1.27 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.8784, allocations: 96 kB / 1.27 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.8803, allocations: 1.057 MB / 1.271 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.8806, allocations: 282.9 kB / 1.271 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.8811, allocations: 0.6023 MB / 1.272 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.883, allocations: 1.743 MB / 1.274 GB, free: 332 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.883, allocations: 0 / 1.274 GB, free: 332 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.775e-06/0.883, allocations: 0 / 1.274 GB, free: 332 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.8831, allocations: 3.938 kB / 1.274 GB, free: 328 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002336/0.8854, allocations: 1.555 MB / 1.275 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8855, allocations: 15.97 kB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.8858, allocations: 139.3 kB / 1.275 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.8871, allocations: 0.8868 MB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.8871, allocations: 58 kB / 1.276 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.8872, allocations: 76 kB / 1.276 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.8886, allocations: 0.8694 MB / 1.277 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.8886, allocations: 3.938 kB / 1.277 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.8887, allocations: 32 kB / 1.277 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.8887, allocations: 24 kB / 1.277 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.8898, allocations: 0.6324 MB / 1.278 GB, free: 11.89 MB / 1.014 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.004095/0.8939, allocations: 3.95 MB / 1.282 GB, free: 7.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.895, allocations: 0.5709 MB / 1.282 GB, free: 7.102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.8955, allocations: 296.8 kB / 1.282 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008779/0.8964, allocations: 1.239 MB / 1.284 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005794/0.897, allocations: 335 kB / 1.284 GB, free: 4.957 MB / 1.014 GB Notification: Performance of pre-optimization done (n=63): time 2.294e-06/0.897, allocations: 0 / 1.284 GB, free: 4.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=63): time 0.002327/0.8993, allocations: 1.134 MB / 1.285 GB, free: 3.773 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8994, allocations: 85.67 kB / 1.285 GB, free: 3.672 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.9004, allocations: 0.8688 MB / 1.286 GB, free: 2.777 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.9004, allocations: 41.7 kB / 1.286 GB, free: 2.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.9007, allocations: 472.2 kB / 1.286 GB, free: 2.266 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.9009, allocations: 216.7 kB / 1.287 GB, free: 2.051 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.9011, allocations: 114.3 kB / 1.287 GB, free: 1.934 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9012, allocations: 330 kB / 1.287 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.9016, allocations: 211.4 kB / 1.287 GB, free: 1.395 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.9021, allocations: 316.4 kB / 1.288 GB, free: 1.051 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008716/0.903, allocations: 0.5308 MB / 1.288 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.903, allocations: 4 kB / 1.288 GB, free: 500 kB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001235/0.9042, allocations: 0.7055 MB / 1.289 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9043, allocations: 8 kB / 1.289 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9043, allocations: 3.984 kB / 1.289 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.9048, allocations: 113.1 kB / 1.289 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.9052, allocations: 115.8 kB / 1.289 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005427/0.9058, allocations: 0.6537 MB / 1.29 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.9063, allocations: 71.27 kB / 1.29 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.9063, allocations: 35.92 kB / 1.29 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00057/0.9069, allocations: 389.3 kB / 1.29 GB, free: 14.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004188/0.9073, allocations: 300.4 kB / 1.29 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000778/0.9081, allocations: 0.5152 MB / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.9081, allocations: 0 / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001136/0.9093, allocations: 0.6821 MB / 1.292 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.9093, allocations: 8 kB / 1.292 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.9093, allocations: 0 / 1.292 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.9097, allocations: 113.1 kB / 1.292 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.9102, allocations: 111.8 kB / 1.292 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005049/0.9107, allocations: 0.6732 MB / 1.292 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.9111, allocations: 43.62 kB / 1.293 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.9112, allocations: 31.92 kB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.9113, allocations: 221.8 kB / 1.293 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.9115, allocations: 98.78 kB / 1.293 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.9132, allocations: 0.9458 MB / 1.294 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.9145, allocations: 0.8503 MB / 1.295 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9145, allocations: 0 / 1.295 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.9148, allocations: 251.6 kB / 1.295 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.9149, allocations: 16 kB / 1.295 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.9154, allocations: 27.92 kB / 1.295 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.9155, allocations: 44.58 kB / 1.295 GB, free: 9.254 MB / 1.029 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: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001379/0.9169, allocations: 0.5887 MB / 1.296 GB, free: 8.656 MB / 1.029 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated