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.001063/0.001063, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001006/0.001006, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 297.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.232/1.232, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3806, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1679/0.5486, allocations: 167.6 MB / 0.9307 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.5615, allocations: 8.895 MB / 0.9394 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.563, allocations: 47.75 kB / 0.9394 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.565, allocations: 0.6483 MB / 0.94 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.5689, allocations: 1.527 MB / 0.9415 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.572, allocations: 1.197 MB / 0.9427 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004428/0.5765, allocations: 2.712 MB / 0.9453 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.5783, allocations: 0.9675 MB / 0.9463 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.5805, allocations: 1.026 MB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.5821, allocations: 0.996 MB / 0.9483 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.5824, allocations: 96 kB / 0.9484 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.5847, allocations: 1.049 MB / 0.9494 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.5851, allocations: 282.9 kB / 0.9497 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008441/0.5859, allocations: 0.6062 MB / 0.9502 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.5885, allocations: 1.752 MB / 0.952 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5885, allocations: 0 / 0.952 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5885, allocations: 0 / 0.952 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.345e-05/0.5886, allocations: 4 kB / 0.952 GB, free: 5.848 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.003019/0.5916, allocations: 1.555 MB / 0.9535 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5916, allocations: 11.97 kB / 0.9535 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.592, allocations: 135.3 kB / 0.9536 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.5936, allocations: 0.8791 MB / 0.9545 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.5937, allocations: 62 kB / 0.9545 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5938, allocations: 79.98 kB / 0.9546 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.5954, allocations: 0.8655 MB / 0.9555 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.5954, allocations: 7.938 kB / 0.9555 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.5955, allocations: 35.98 kB / 0.9555 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.5955, allocations: 16 kB / 0.9555 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5968, allocations: 0.6324 MB / 0.9561 GB, free: 1.426 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.3218/0.9186, allocations: 3.956 MB / 0.96 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.92, allocations: 0.5757 MB / 0.9606 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.9206, allocations: 294.3 kB / 0.9608 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.9213, allocations: 1.243 MB / 0.9621 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006888/0.922, allocations: 330.7 kB / 0.9624 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=63): time 4.158e-06/0.922, allocations: 1.734 kB / 0.9624 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=63): time 0.002446/0.9245, allocations: 1.136 MB / 0.9635 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.9245, allocations: 84.55 kB / 0.9636 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/0.9255, allocations: 0.8678 MB / 0.9644 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.9256, allocations: 37.14 kB / 0.9644 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.9259, allocations: 472 kB / 0.9649 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.926, allocations: 217.7 kB / 0.9651 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.9262, allocations: 112 kB / 0.9652 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.9262, allocations: 337.6 kB / 0.9655 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.9267, allocations: 210.9 kB / 0.9657 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.9271, allocations: 319.3 kB / 0.966 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.928, allocations: 0.5241 MB / 0.9665 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.928, allocations: 1.594 kB / 0.9665 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001233/0.9293, allocations: 0.713 MB / 0.9672 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.9293, allocations: 10.81 kB / 0.9673 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9293, allocations: 2.125 kB / 0.9673 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.9299, allocations: 110.2 kB / 0.9674 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.9304, allocations: 118.1 kB / 0.9675 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000484/0.9309, allocations: 0.6602 MB / 0.9681 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.9314, allocations: 65.16 kB / 0.9682 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.9314, allocations: 27.94 kB / 0.9682 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005771/0.932, allocations: 392.7 kB / 0.9686 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004275/0.9325, allocations: 298.8 kB / 0.9689 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007543/0.9332, allocations: 0.52 MB / 0.9694 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.9332, allocations: 96 / 0.9694 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001104/0.9343, allocations: 0.6866 MB / 0.97 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.9344, allocations: 7.906 kB / 0.9701 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.9344, allocations: 0 / 0.9701 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.9348, allocations: 116.1 kB / 0.9702 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.9352, allocations: 108.8 kB / 0.9703 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003974/0.9356, allocations: 0.6673 MB / 0.9709 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.9361, allocations: 47.98 kB / 0.971 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.9361, allocations: 25.61 kB / 0.971 GB, free: 181.3 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.000132/0.9363, allocations: 213.5 kB / 0.9712 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.9364, allocations: 99.14 kB / 0.9713 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.9381, allocations: 0.942 MB / 0.9722 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.9392, allocations: 0.8516 MB / 0.973 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.9392, allocations: 0 / 0.973 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.9395, allocations: 255.1 kB / 0.9733 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.9397, allocations: 12.95 kB / 0.9733 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.9401, allocations: 24.7 kB / 0.9733 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.9402, allocations: 50.94 kB / 0.9734 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.001304/0.9415, allocations: 0.5965 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