Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001406/0.001406, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.001581/0.001581, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6757, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.159/0.8347, allocations: 167.6 MB / 1.331 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.8466, allocations: 8.906 MB / 1.34 GB, free: 2.699 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.8477, allocations: 35.81 kB / 1.34 GB, free: 2.664 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.8491, allocations: 0.6562 MB / 1.34 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.8523, allocations: 1.524 MB / 1.342 GB, free: 484 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.8548, allocations: 1.186 MB / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.8577, allocations: 2.716 MB / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.8588, allocations: 0.9686 MB / 1.347 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.8606, allocations: 1.027 MB / 1.348 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.8619, allocations: 0.9961 MB / 1.349 GB, free: 9.555 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.8621, allocations: 96 kB / 1.349 GB, free: 9.461 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.8642, allocations: 1.053 MB / 1.35 GB, free: 8.406 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.8644, allocations: 279 kB / 1.35 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006191/0.8651, allocations: 0.6101 MB / 1.351 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.8673, allocations: 1.739 MB / 1.352 GB, free: 5.777 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8673, allocations: 0 / 1.352 GB, free: 5.777 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8673, allocations: 0 / 1.352 GB, free: 5.777 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.075e-05/0.8674, allocations: 0 / 1.352 GB, free: 5.777 MB / 1.076 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.002556/0.8699, allocations: 1.567 MB / 1.354 GB, free: 4.156 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.87, allocations: 12.03 kB / 1.354 GB, free: 4.145 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.8703, allocations: 139.3 kB / 1.354 GB, free: 4.008 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.8716, allocations: 0.8791 MB / 1.355 GB, free: 3.086 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.8717, allocations: 58 kB / 1.355 GB, free: 3.027 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8718, allocations: 83.92 kB / 1.355 GB, free: 2.945 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.8732, allocations: 0.8655 MB / 1.356 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.8732, allocations: 0 / 1.356 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.8733, allocations: 32 kB / 1.356 GB, free: 2.004 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.8733, allocations: 20 kB / 1.356 GB, free: 1.984 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.8745, allocations: 0.6362 MB / 1.356 GB, free: 1.348 MB / 1.076 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.004205/0.8787, allocations: 3.962 MB / 1.36 GB, free: 13.13 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.8798, allocations: 0.5728 MB / 1.361 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.8803, allocations: 288.4 kB / 1.361 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/0.8812, allocations: 1.247 MB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.8818, allocations: 331 kB / 1.363 GB, free: 10.41 MB / 1.092 GB Notification: Performance of pre-optimization done (n=63): time 2.304e-06/0.8818, allocations: 4 kB / 1.363 GB, free: 10.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=63): time 0.002357/0.8842, allocations: 1.13 MB / 1.364 GB, free: 9.227 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8843, allocations: 85.67 kB / 1.364 GB, free: 9.125 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.8852, allocations: 0.865 MB / 1.365 GB, free: 8.234 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.8853, allocations: 41.7 kB / 1.365 GB, free: 8.188 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.8856, allocations: 468.2 kB / 1.365 GB, free: 7.727 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.8858, allocations: 216.8 kB / 1.365 GB, free: 7.512 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.8859, allocations: 122.2 kB / 1.365 GB, free: 7.387 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8861, allocations: 326 kB / 1.366 GB, free: 7.062 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.8865, allocations: 215.3 kB / 1.366 GB, free: 6.848 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.887, allocations: 312.4 kB / 1.366 GB, free: 6.508 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.8879, allocations: 0.5347 MB / 1.367 GB, free: 5.945 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8879, allocations: 0 / 1.367 GB, free: 5.945 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001235/0.8891, allocations: 0.7133 MB / 1.368 GB, free: 5.219 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8891, allocations: 8 kB / 1.368 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8891, allocations: 0 / 1.368 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.8897, allocations: 109.1 kB / 1.368 GB, free: 5.102 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.8901, allocations: 115.8 kB / 1.368 GB, free: 4.988 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/0.8907, allocations: 0.6615 MB / 1.368 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.8911, allocations: 63.36 kB / 1.368 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.8912, allocations: 23.94 kB / 1.368 GB, free: 4.215 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005975/0.8918, allocations: 395.5 kB / 1.369 GB, free: 3.824 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004246/0.8922, allocations: 300.5 kB / 1.369 GB, free: 3.504 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007828/0.893, allocations: 0.5191 MB / 1.37 GB, free: 2.957 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.893, allocations: 7.922 kB / 1.37 GB, free: 2.949 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001141/0.8942, allocations: 0.686 MB / 1.37 GB, free: 2.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.8942, allocations: 4 kB / 1.37 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.8942, allocations: 4 kB / 1.37 GB, free: 2.242 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.8946, allocations: 109.1 kB / 1.37 GB, free: 2.133 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.8951, allocations: 115.9 kB / 1.371 GB, free: 2.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005239/0.8956, allocations: 0.6654 MB / 1.371 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.8961, allocations: 47.61 kB / 1.371 GB, free: 1.281 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.8961, allocations: 24 kB / 1.371 GB, free: 1.258 MB / 1.092 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.0001738/0.8963, allocations: 226.5 kB / 1.371 GB, free: 1.031 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.8964, allocations: 98.78 kB / 1.372 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.8982, allocations: 0.9459 MB / 1.372 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.8994, allocations: 0.8542 MB / 1.373 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8994, allocations: 0 / 1.373 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.8998, allocations: 251.6 kB / 1.374 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.8999, allocations: 16 kB / 1.374 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.9003, allocations: 23.92 kB / 1.374 GB, free: 14.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.9004, allocations: 44.59 kB / 1.374 GB, free: 14.71 MB / 1.107 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.001374/0.9018, allocations: 0.5964 MB / 1.374 GB, free: 14.11 MB / 1.107 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated