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.001119/0.001119, allocations: 111.8 kB / 16.42 MB, free: 6.516 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.001174/0.001174, allocations: 186.7 kB / 17.35 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.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.366/2.366, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 63.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6802, allocations: 151.6 MB / 1.167 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.164/0.8442, allocations: 167.6 MB / 1.331 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.8563, allocations: 8.91 MB / 1.34 GB, free: 2.859 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.8576, allocations: 39.81 kB / 1.34 GB, free: 2.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.8592, allocations: 0.6523 MB / 1.34 GB, free: 2.164 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.8628, allocations: 1.521 MB / 1.342 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.8655, allocations: 1.193 MB / 1.343 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.8686, allocations: 2.718 MB / 1.346 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.8699, allocations: 0.9609 MB / 1.347 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.8719, allocations: 1.03 MB / 1.348 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.8733, allocations: 0.9883 MB / 1.349 GB, free: 9.723 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.8735, allocations: 96 kB / 1.349 GB, free: 9.629 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.8757, allocations: 1.057 MB / 1.35 GB, free: 8.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.876, allocations: 275 kB / 1.35 GB, free: 8.301 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.8767, allocations: 0.6062 MB / 1.351 GB, free: 7.691 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.879, allocations: 1.749 MB / 1.352 GB, free: 5.938 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.879, allocations: 4 kB / 1.352 GB, free: 5.934 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8791, allocations: 0 / 1.352 GB, free: 5.934 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.912e-05/0.8791, allocations: 0 / 1.352 GB, free: 5.934 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.002648/0.8817, allocations: 1.612 MB / 1.354 GB, free: 4.266 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8818, allocations: 8.922 kB / 1.354 GB, free: 4.258 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.8821, allocations: 144.1 kB / 1.354 GB, free: 4.117 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.8835, allocations: 0.8838 MB / 1.355 GB, free: 3.191 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.8836, allocations: 62 kB / 1.355 GB, free: 3.129 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.8837, allocations: 83.95 kB / 1.355 GB, free: 3.047 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.8851, allocations: 0.8655 MB / 1.356 GB, free: 2.137 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.8851, allocations: 4 kB / 1.356 GB, free: 2.133 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.8852, allocations: 32 kB / 1.356 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.8852, allocations: 16 kB / 1.356 GB, free: 2.086 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.8864, allocations: 0.6362 MB / 1.356 GB, free: 1.449 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.004178/0.8906, allocations: 3.966 MB / 1.36 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.8917, allocations: 0.573 MB / 1.361 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.8922, allocations: 293.4 kB / 1.361 GB, free: 12.36 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008767/0.8931, allocations: 1.239 MB / 1.362 GB, free: 10.84 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.8937, allocations: 330.9 kB / 1.363 GB, free: 10.51 MB / 1.092 GB Notification: Performance of pre-optimization done (n=63): time 2.284e-06/0.8937, allocations: 0 / 1.363 GB, free: 10.51 MB / 1.092 GB Notification: Performance of matching and sorting (n=63): time 0.002386/0.8961, allocations: 1.15 MB / 1.364 GB, free: 9.312 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8961, allocations: 85.67 kB / 1.364 GB, free: 9.211 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.8971, allocations: 0.8767 MB / 1.365 GB, free: 8.309 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.8972, allocations: 33.7 kB / 1.365 GB, free: 8.27 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.8975, allocations: 476.8 kB / 1.365 GB, free: 7.801 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.8977, allocations: 226 kB / 1.365 GB, free: 7.578 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.8979, allocations: 122.3 kB / 1.366 GB, free: 7.453 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.898, allocations: 326 kB / 1.366 GB, free: 7.129 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.8984, allocations: 219.4 kB / 1.366 GB, free: 6.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.8989, allocations: 308.4 kB / 1.366 GB, free: 6.574 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.8998, allocations: 0.5308 MB / 1.367 GB, free: 6.016 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8998, allocations: 0 / 1.367 GB, free: 6.016 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001275/0.9011, allocations: 0.7217 MB / 1.368 GB, free: 5.281 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9011, allocations: 8 kB / 1.368 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9011, allocations: 0 / 1.368 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.9017, allocations: 104.8 kB / 1.368 GB, free: 5.168 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.9021, allocations: 115.8 kB / 1.368 GB, free: 5.055 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005355/0.9027, allocations: 0.6618 MB / 1.368 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.9032, allocations: 67.53 kB / 1.369 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.9032, allocations: 27.94 kB / 1.369 GB, free: 4.273 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000573/0.9038, allocations: 397.3 kB / 1.369 GB, free: 3.879 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004222/0.9042, allocations: 300.5 kB / 1.369 GB, free: 3.559 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007774/0.905, allocations: 0.5113 MB / 1.37 GB, free: 3.02 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.905, allocations: 0 / 1.37 GB, free: 3.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001166/0.9062, allocations: 0.6945 MB / 1.37 GB, free: 2.312 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.9062, allocations: 8 kB / 1.37 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.9062, allocations: 3.938 kB / 1.37 GB, free: 2.301 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.9067, allocations: 112.8 kB / 1.371 GB, free: 2.188 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.9071, allocations: 111.8 kB / 1.371 GB, free: 2.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004916/0.9076, allocations: 0.6656 MB / 1.371 GB, free: 1.387 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.9081, allocations: 47.72 kB / 1.371 GB, free: 1.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.9081, allocations: 24 kB / 1.371 GB, free: 1.316 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.000163/0.9083, allocations: 216.6 kB / 1.372 GB, free: 1.098 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.9084, allocations: 107.3 kB / 1.372 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.9102, allocations: 0.9433 MB / 1.373 GB, free: 28 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001244/0.9114, allocations: 0.8543 MB / 1.373 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9114, allocations: 0 / 1.373 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.9118, allocations: 256.2 kB / 1.374 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.9119, allocations: 16 kB / 1.374 GB, free: 14.83 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.9123, allocations: 23.92 kB / 1.374 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9124, allocations: 48.53 kB / 1.374 GB, free: 14.76 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.001412/0.9138, allocations: 0.5927 MB / 1.374 GB, free: 14.16 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