Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: 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_latest_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_latest_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.001313/0.001318, allocations: 110.8 kB / 16.42 MB, free: 6.527 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.001285/0.001285, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.518/2.518, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7395, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1742/0.9137, allocations: 167.6 MB / 1.39 GB, free: 5.285 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.9262, allocations: 8.908 MB / 1.399 GB, free: 12.36 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.9278, allocations: 39.75 kB / 1.399 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.9296, allocations: 0.6484 MB / 1.399 GB, free: 11.67 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.9338, allocations: 1.524 MB / 1.401 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.9368, allocations: 1.198 MB / 1.402 GB, free: 8.945 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.9402, allocations: 2.706 MB / 1.405 GB, free: 6.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.9414, allocations: 0.9647 MB / 1.406 GB, free: 5.246 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.9432, allocations: 1.021 MB / 1.407 GB, free: 4.223 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.9444, allocations: 0.996 MB / 1.408 GB, free: 3.223 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.9445, allocations: 96 kB / 1.408 GB, free: 3.129 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.9469, allocations: 1.053 MB / 1.409 GB, free: 2.074 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.9471, allocations: 278.9 kB / 1.409 GB, free: 1.801 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.9476, allocations: 0.6101 MB / 1.41 GB, free: 1.188 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.9498, allocations: 1.744 MB / 1.411 GB, free: 15.44 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.9498, allocations: 8 kB / 1.411 GB, free: 15.43 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9498, allocations: 0 / 1.411 GB, free: 15.43 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.9498, allocations: 0 / 1.411 GB, free: 15.43 MB / 1.139 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.002331/0.9522, allocations: 1.604 MB / 1.413 GB, free: 13.77 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9522, allocations: 12.03 kB / 1.413 GB, free: 13.76 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.9525, allocations: 152.1 kB / 1.413 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.9538, allocations: 0.8878 MB / 1.414 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.9538, allocations: 58 kB / 1.414 GB, free: 12.62 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.954, allocations: 76 kB / 1.414 GB, free: 12.55 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.9552, allocations: 0.8693 MB / 1.415 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.9553, allocations: 3.984 kB / 1.415 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.9553, allocations: 32 kB / 1.415 GB, free: 11.6 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.9554, allocations: 23.98 kB / 1.415 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.9565, allocations: 0.6246 MB / 1.416 GB, free: 10.95 MB / 1.139 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.004087/0.9606, allocations: 3.978 MB / 1.419 GB, free: 6.723 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.9617, allocations: 0.5726 MB / 1.42 GB, free: 6.141 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.9622, allocations: 291.8 kB / 1.42 GB, free: 5.855 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009658/0.9632, allocations: 1.243 MB / 1.421 GB, free: 4.336 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.9638, allocations: 331.1 kB / 1.422 GB, free: 4 MB / 1.139 GB Notification: Performance of pre-optimization done (n=63): time 3.196e-06/0.9638, allocations: 0 / 1.422 GB, free: 4 MB / 1.139 GB Notification: Performance of matching and sorting (n=63): time 0.002408/0.9662, allocations: 1.142 MB / 1.423 GB, free: 2.812 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.9663, allocations: 85.67 kB / 1.423 GB, free: 2.707 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/0.9673, allocations: 0.8728 MB / 1.424 GB, free: 1.809 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.9673, allocations: 41.7 kB / 1.424 GB, free: 1.762 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.9677, allocations: 468.8 kB / 1.424 GB, free: 1.301 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.9678, allocations: 222.1 kB / 1.425 GB, free: 1.082 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.968, allocations: 114.3 kB / 1.425 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9681, allocations: 338 kB / 1.425 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.9686, allocations: 211.4 kB / 1.425 GB, free: 428 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.9691, allocations: 316.4 kB / 1.425 GB, free: 76 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.97, allocations: 0.5269 MB / 1.426 GB, free: 15.52 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.97, allocations: 0 / 1.426 GB, free: 15.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00127/0.9713, allocations: 0.7178 MB / 1.427 GB, free: 14.79 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.9713, allocations: 8 kB / 1.427 GB, free: 14.78 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9713, allocations: 0 / 1.427 GB, free: 14.78 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.9719, allocations: 108.7 kB / 1.427 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.9724, allocations: 115.9 kB / 1.427 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/0.9729, allocations: 0.6617 MB / 1.428 GB, free: 13.87 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.9734, allocations: 75.5 kB / 1.428 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.9735, allocations: 27.88 kB / 1.428 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005852/0.9741, allocations: 393.3 kB / 1.428 GB, free: 13.38 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004437/0.9745, allocations: 304.5 kB / 1.428 GB, free: 13.05 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007879/0.9753, allocations: 0.5113 MB / 1.429 GB, free: 12.51 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.9753, allocations: 0 / 1.429 GB, free: 12.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.00114/0.9765, allocations: 0.6944 MB / 1.429 GB, free: 11.8 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9765, allocations: 5.094 kB / 1.429 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.9765, allocations: 4 kB / 1.429 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.977, allocations: 104.8 kB / 1.43 GB, free: 11.69 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.9774, allocations: 115.8 kB / 1.43 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/0.9779, allocations: 0.6657 MB / 1.43 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.9784, allocations: 47.72 kB / 1.43 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.9785, allocations: 24 kB / 1.43 GB, free: 10.81 MB / 1.154 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.0001876/0.9787, allocations: 224 kB / 1.431 GB, free: 10.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.9789, allocations: 107.3 kB / 1.431 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.9806, allocations: 0.9447 MB / 1.432 GB, free: 9.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/0.9819, allocations: 0.8542 MB / 1.432 GB, free: 8.609 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9819, allocations: 0 / 1.432 GB, free: 8.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.9822, allocations: 256.2 kB / 1.433 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.9824, allocations: 16 kB / 1.433 GB, free: 8.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.9828, allocations: 23.92 kB / 1.433 GB, free: 8.301 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9829, allocations: 40.69 kB / 1.433 GB, free: 8.262 MB / 1.154 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.001385/0.9843, allocations: 0.6044 MB / 1.433 GB, free: 7.648 MB / 1.154 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated