Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001295/0.001295, allocations: 113.1 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.001278/0.001279, allocations: 189.6 kB / 17.35 MB, free: 5.758 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.309/1.309, 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/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 58.69 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.4754/0.5991, allocations: 167.6 MB / 0.824 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.6115, allocations: 8.891 MB / 0.8327 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.613, allocations: 40.84 kB / 0.8327 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.6147, allocations: 0.6499 MB / 0.8333 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.6185, allocations: 1.524 MB / 0.8348 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.6213, allocations: 1.181 MB / 0.836 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002999/0.6243, allocations: 2.703 MB / 0.8386 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.6256, allocations: 0.9676 MB / 0.8396 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.6277, allocations: 1.03 MB / 0.8406 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.6291, allocations: 0.9975 MB / 0.8415 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.6293, allocations: 99.22 kB / 0.8416 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.6314, allocations: 1.047 MB / 0.8427 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.6317, allocations: 280.5 kB / 0.8429 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006726/0.6324, allocations: 0.6063 MB / 0.8435 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.6347, allocations: 1.759 MB / 0.8452 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6347, allocations: 3.938 kB / 0.8452 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6347, allocations: 2.688 kB / 0.8452 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.154e-05/0.6347, allocations: 0 / 0.8452 GB, free: 6.258 MB / 0.6075 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.002641/0.6374, allocations: 1.603 MB / 0.8468 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6374, allocations: 7.688 kB / 0.8468 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.6378, allocations: 146.4 kB / 0.8469 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.6391, allocations: 0.891 MB / 0.8478 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.6392, allocations: 70.62 kB / 0.8479 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.6393, allocations: 78.41 kB / 0.848 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6406, allocations: 0.8646 MB / 0.8488 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6407, allocations: 3.938 kB / 0.8488 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.6407, allocations: 35.77 kB / 0.8488 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.6408, allocations: 20.12 kB / 0.8489 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.6419, allocations: 0.6304 MB / 0.8495 GB, free: 3.27 MB / 0.6075 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.004309/0.6462, allocations: 3.968 MB / 0.8534 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6474, allocations: 0.5655 MB / 0.8539 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.6479, allocations: 295.3 kB / 0.8542 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009356/0.6488, allocations: 1.243 MB / 0.8554 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/0.6494, allocations: 331 kB / 0.8557 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=63): time 2.615e-06/0.6494, allocations: 3.938 kB / 0.8557 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63): time 0.002605/0.6521, allocations: 1.139 MB / 0.8568 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.6521, allocations: 85.67 kB / 0.8569 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6532, allocations: 0.8689 MB / 0.8578 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.6532, allocations: 37.7 kB / 0.8578 GB, free: 11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.6537, allocations: 476.7 kB / 0.8583 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6539, allocations: 226.1 kB / 0.8585 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.654, allocations: 122.3 kB / 0.8586 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6542, allocations: 326 kB / 0.8589 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.6547, allocations: 211.4 kB / 0.8591 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.6552, allocations: 316.4 kB / 0.8594 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.6562, allocations: 0.5308 MB / 0.8599 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.6562, allocations: 0 / 0.8599 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001452/0.6576, allocations: 0.7138 MB / 0.8606 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6577, allocations: 11.94 kB / 0.8606 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6577, allocations: 0 / 0.8606 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.6583, allocations: 113 kB / 0.8607 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.6588, allocations: 111.9 kB / 0.8608 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.6595, allocations: 0.6679 MB / 0.8615 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.6601, allocations: 67.5 kB / 0.8616 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.6601, allocations: 23.94 kB / 0.8616 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006274/0.6608, allocations: 397.3 kB / 0.862 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004377/0.6612, allocations: 300.5 kB / 0.8622 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008437/0.6621, allocations: 0.5113 MB / 0.8627 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.6621, allocations: 4 kB / 0.8627 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001254/0.6634, allocations: 0.6865 MB / 0.8634 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.6634, allocations: 4 kB / 0.8634 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.6634, allocations: 4 kB / 0.8634 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.6638, allocations: 109.1 kB / 0.8635 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.6643, allocations: 119.8 kB / 0.8636 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005434/0.6648, allocations: 0.6576 MB / 0.8643 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.6653, allocations: 51.75 kB / 0.8643 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.6654, allocations: 20 kB / 0.8644 GB, free: 4.047 MB / 0.6231 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.0001977/0.6656, allocations: 230.3 kB / 0.8646 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.6657, allocations: 103.4 kB / 0.8647 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.6676, allocations: 0.9417 MB / 0.8656 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.6689, allocations: 0.8581 MB / 0.8664 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6689, allocations: 5.062 kB / 0.8664 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.6693, allocations: 256.2 kB / 0.8667 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.6694, allocations: 16 kB / 0.8667 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.6699, allocations: 27.88 kB / 0.8667 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.67, allocations: 48.59 kB / 0.8668 GB, free: 1.48 MB / 0.6231 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.001479/0.6715, allocations: 0.5889 MB / 0.8673 GB, free: 0.8828 MB / 0.6231 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated