Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001716/0.001723, allocations: 111 kB / 16.42 MB, free: 6.5 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.002145/0.002145, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 296.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9849/0.9849, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4123, allocations: 86.98 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1698/0.5822, allocations: 167.6 MB / 0.9307 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.595, allocations: 8.891 MB / 0.9394 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.5966, allocations: 39.75 kB / 0.9394 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.5984, allocations: 0.6523 MB / 0.94 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.6026, allocations: 1.496 MB / 0.9415 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.6057, allocations: 1.199 MB / 0.9427 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004172/0.6099, allocations: 2.697 MB / 0.9453 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.6117, allocations: 0.9714 MB / 0.9462 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.6142, allocations: 1.036 MB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.6155, allocations: 0.9883 MB / 0.9482 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.6157, allocations: 96 kB / 0.9483 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.6181, allocations: 1.053 MB / 0.9493 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.6184, allocations: 279 kB / 0.9496 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005961/0.619, allocations: 0.6062 MB / 0.9502 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.6215, allocations: 1.752 MB / 0.9519 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6215, allocations: 0 / 0.9519 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6215, allocations: 0 / 0.9519 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.6215, allocations: 0 / 0.9519 GB, free: 5.855 MB / 0.7169 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.002549/0.6241, allocations: 1.562 MB / 0.9534 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6241, allocations: 8.031 kB / 0.9534 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.6244, allocations: 139.3 kB / 0.9536 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.6258, allocations: 0.8791 MB / 0.9544 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.6259, allocations: 62 kB / 0.9545 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.626, allocations: 76 kB / 0.9546 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6274, allocations: 0.8693 MB / 0.9554 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.6274, allocations: 0 / 0.9554 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.6275, allocations: 40 kB / 0.9555 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.6276, allocations: 20 kB / 0.9555 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6287, allocations: 0.6284 MB / 0.9561 GB, free: 1.434 MB / 0.7169 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.3517/0.9803, allocations: 3.959 MB / 0.96 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.9821, allocations: 0.5755 MB / 0.9605 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/0.9829, allocations: 302.3 kB / 0.9608 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/0.9837, allocations: 1.236 MB / 0.962 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008181/0.9846, allocations: 333.2 kB / 0.9623 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=63): time 4.348e-06/0.9846, allocations: 2.859 kB / 0.9623 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=63): time 0.002719/0.9873, allocations: 1.139 MB / 0.9634 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.9874, allocations: 83.39 kB / 0.9635 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.9887, allocations: 0.8678 MB / 0.9644 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.9888, allocations: 42.47 kB / 0.9644 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.9892, allocations: 465.8 kB / 0.9649 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.9894, allocations: 219.3 kB / 0.9651 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.9896, allocations: 111.4 kB / 0.9652 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.9896, allocations: 331.6 kB / 0.9655 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.9901, allocations: 209.4 kB / 0.9657 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.9906, allocations: 317.9 kB / 0.966 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.9915, allocations: 0.5249 MB / 0.9665 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9915, allocations: 6.188 kB / 0.9665 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001369/0.9928, allocations: 0.7109 MB / 0.9672 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9929, allocations: 9.812 kB / 0.9672 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9929, allocations: 6.375 kB / 0.9672 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.9935, allocations: 102.7 kB / 0.9673 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.994, allocations: 121.9 kB / 0.9674 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005071/0.9945, allocations: 0.6636 MB / 0.9681 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.9951, allocations: 67.05 kB / 0.9681 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.9952, allocations: 24.75 kB / 0.9682 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006256/0.9958, allocations: 392.7 kB / 0.9685 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004346/0.9963, allocations: 302.4 kB / 0.9688 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008127/0.9971, allocations: 0.5131 MB / 0.9693 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.9971, allocations: 0 / 0.9693 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001242/0.9984, allocations: 0.6882 MB / 0.97 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.9984, allocations: 4.578 kB / 0.97 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9984, allocations: 3.969 kB / 0.97 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/0.9988, allocations: 108.2 kB / 0.9701 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.9993, allocations: 112.2 kB / 0.9702 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/0.9997, allocations: 0.667 MB / 0.9709 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/1, allocations: 47.91 kB / 0.9709 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/1, allocations: 25.55 kB / 0.9709 GB, free: 181.2 MB / 0.7169 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.0001855/1, allocations: 213.3 kB / 0.9711 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/1.001, allocations: 103.7 kB / 0.9712 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/1.002, allocations: 0.9476 MB / 0.9722 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/1.004, allocations: 0.8559 MB / 0.973 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.004, allocations: 2.938 kB / 0.973 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/1.004, allocations: 254.7 kB / 0.9733 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.004, allocations: 17.14 kB / 0.9733 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/1.005, allocations: 23.12 kB / 0.9733 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.005, allocations: 46.59 kB / 0.9733 GB, free: 179.9 MB / 0.7169 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.001381/1.006, allocations: 0.5945 MB / 0.9739 GB, free: 179.6 MB / 0.7169 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated