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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001467/0.001467, allocations: 110.7 kB / 16.38 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.001822/0.001822, allocations: 192.5 kB / 17.32 MB, free: 5.613 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 442.6 MB / 0.7166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.78 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3561, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.8899/1.246, allocations: 167.6 MB / 1.19 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01484/1.261, allocations: 8.896 MB / 1.199 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/1.264, allocations: 41.53 kB / 1.199 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/1.266, allocations: 0.6491 MB / 1.2 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/1.271, allocations: 1.492 MB / 1.201 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/1.275, allocations: 1.19 MB / 1.202 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004379/1.28, allocations: 2.701 MB / 1.205 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/1.281, allocations: 0.9604 MB / 1.206 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/1.284, allocations: 1.022 MB / 1.207 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/1.286, allocations: 0.9912 MB / 1.208 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/1.286, allocations: 96 kB / 1.208 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/1.289, allocations: 1.052 MB / 1.209 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/1.289, allocations: 275 kB / 1.209 GB, free: 15.51 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007835/1.29, allocations: 0.6165 MB / 1.21 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/1.293, allocations: 1.735 MB / 1.212 GB, free: 13.96 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.293, allocations: 0 / 1.212 GB, free: 13.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/1.293, allocations: 4 kB / 1.212 GB, free: 13.95 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.293, allocations: 3.938 kB / 1.212 GB, free: 13.95 MB / 0.92 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.002703/1.296, allocations: 1.562 MB / 1.213 GB, free: 12.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.296, allocations: 10.78 kB / 1.213 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/1.296, allocations: 134.9 kB / 1.213 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.298, allocations: 0.8751 MB / 1.214 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/1.298, allocations: 62 kB / 1.214 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.298, allocations: 93.48 kB / 1.214 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.299, allocations: 0.8695 MB / 1.215 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/1.299, allocations: 0 / 1.215 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/1.299, allocations: 33.75 kB / 1.215 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/1.299, allocations: 17.91 kB / 1.215 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/1.3, allocations: 0.6348 MB / 1.216 GB, free: 11.02 MB / 0.92 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.004713/1.305, allocations: 3.956 MB / 1.22 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.306, allocations: 0.5728 MB / 1.22 GB, free: 6.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/1.307, allocations: 293.8 kB / 1.221 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.308, allocations: 1.243 MB / 1.222 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/1.309, allocations: 323 kB / 1.222 GB, free: 4.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=63): time 3.326e-06/1.309, allocations: 0 / 1.222 GB, free: 4.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=63): time 0.002499/1.311, allocations: 1.138 MB / 1.223 GB, free: 3.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/1.311, allocations: 89.67 kB / 1.223 GB, free: 3.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.312, allocations: 0.8689 MB / 1.224 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/1.312, allocations: 37.7 kB / 1.224 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/1.313, allocations: 472.1 kB / 1.225 GB, free: 1.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.313, allocations: 208.9 kB / 1.225 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.313, allocations: 122.2 kB / 1.225 GB, free: 1.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.313, allocations: 326 kB / 1.225 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/1.314, allocations: 215.4 kB / 1.225 GB, free: 1.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/1.314, allocations: 312.4 kB / 1.226 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/1.315, allocations: 0.5347 MB / 1.226 GB, free: 156 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.315, allocations: 0 / 1.226 GB, free: 156 kB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001379/1.316, allocations: 0.7097 MB / 1.227 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.316, allocations: 11.94 kB / 1.227 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.316, allocations: 0.75 kB / 1.227 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/1.317, allocations: 108.7 kB / 1.227 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/1.318, allocations: 119.8 kB / 1.227 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006006/1.318, allocations: 0.6616 MB / 1.228 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/1.319, allocations: 63.36 kB / 1.228 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/1.319, allocations: 24 kB / 1.228 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006765/1.319, allocations: 393.3 kB / 1.228 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004353/1.32, allocations: 296.5 kB / 1.229 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008086/1.321, allocations: 0.519 MB / 1.229 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.335e-06/1.321, allocations: 3.938 kB / 1.229 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001223/1.322, allocations: 0.69 MB / 1.23 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.322, allocations: 8 kB / 1.23 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.322, allocations: 0 / 1.23 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/1.322, allocations: 104.8 kB / 1.23 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.323, allocations: 115.8 kB / 1.23 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005385/1.323, allocations: 0.6693 MB / 1.231 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/1.324, allocations: 43.67 kB / 1.231 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/1.324, allocations: 20.09 kB / 1.231 GB, free: 11.47 MB / 0.9356 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.0002428/1.324, allocations: 233.6 kB / 1.231 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.324, allocations: 98.78 kB / 1.231 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/1.326, allocations: 0.9415 MB / 1.232 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/1.327, allocations: 0.8542 MB / 1.233 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.328, allocations: 4 kB / 1.233 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/1.328, allocations: 255.5 kB / 1.233 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.328, allocations: 16 kB / 1.233 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/1.328, allocations: 19.98 kB / 1.233 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.329, allocations: 48.53 kB / 1.233 GB, free: 8.93 MB / 0.9356 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.001359/1.33, allocations: 0.5887 MB / 1.234 GB, free: 8.332 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated