Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001349/0.001348, allocations: 113.8 kB / 16.38 MB, free: 6 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.00149/0.001491, allocations: 186.9 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 59.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2602, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.709/0.9692, allocations: 167.6 MB / 0.9484 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.9865, allocations: 8.727 MB / 0.9569 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.9899, allocations: 43.75 kB / 0.957 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.993, allocations: 0.6445 MB / 0.9576 GB, free: 9.258 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005651/0.9987, allocations: 1.442 MB / 0.959 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/1.003, allocations: 1.207 MB / 0.9602 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004735/1.008, allocations: 2.691 MB / 0.9628 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/1.01, allocations: 0.9764 MB / 0.9638 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/1.013, allocations: 1.012 MB / 0.9648 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/1.015, allocations: 0.9883 MB / 0.9657 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003908/1.015, allocations: 96 kB / 0.9658 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/1.018, allocations: 1.057 MB / 0.9669 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005591/1.019, allocations: 275 kB / 0.9671 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/1.02, allocations: 0.6101 MB / 0.9677 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/1.024, allocations: 1.76 MB / 0.9694 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.024, allocations: 0 / 0.9694 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.815e-06/1.024, allocations: 0.75 kB / 0.9694 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.024, allocations: 0 / 0.9694 GB, free: 13.11 MB / 0.7637 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.002886/1.027, allocations: 1.574 MB / 0.971 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.027, allocations: 8.031 kB / 0.971 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/1.028, allocations: 139.3 kB / 0.9711 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.029, allocations: 0.8778 MB / 0.972 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/1.029, allocations: 58.38 kB / 0.972 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.029, allocations: 90.17 kB / 0.9721 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/1.031, allocations: 0.8654 MB / 0.973 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.031, allocations: 4 kB / 0.973 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/1.031, allocations: 32 kB / 0.973 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.031, allocations: 20 kB / 0.973 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/1.032, allocations: 0.6362 MB / 0.9736 GB, free: 8.68 MB / 0.7637 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.004464/1.036, allocations: 3.962 MB / 0.9775 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/1.037, allocations: 0.5688 MB / 0.9781 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/1.038, allocations: 290.4 kB / 0.9783 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009874/1.039, allocations: 1.247 MB / 0.9795 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/1.04, allocations: 323.6 kB / 0.9799 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=63): time 2.965e-06/1.04, allocations: 4 kB / 0.9799 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of matching and sorting (n=63): time 0.0027/1.042, allocations: 1.142 MB / 0.981 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.042, allocations: 81.67 kB / 0.9811 GB, free: 460 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.043, allocations: 0.8729 MB / 0.9819 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.043, allocations: 37.7 kB / 0.9819 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.044, allocations: 464.2 kB / 0.9824 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.044, allocations: 228.6 kB / 0.9826 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.044, allocations: 118.2 kB / 0.9827 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.044, allocations: 326 kB / 0.983 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/1.045, allocations: 215.4 kB / 0.9832 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/1.045, allocations: 312.4 kB / 0.9835 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/1.046, allocations: 0.5274 MB / 0.984 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.046, allocations: 1.5 kB / 0.984 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001302/1.047, allocations: 0.7094 MB / 0.9847 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.048, allocations: 8 kB / 0.9847 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.048, allocations: 3.984 kB / 0.9848 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/1.048, allocations: 109.1 kB / 0.9849 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.049, allocations: 120.6 kB / 0.985 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00067/1.049, allocations: 0.6616 MB / 0.9856 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/1.05, allocations: 63.42 kB / 0.9857 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/1.05, allocations: 23.94 kB / 0.9857 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006257/1.05, allocations: 393.3 kB / 0.9861 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004309/1.051, allocations: 308.4 kB / 0.9864 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008154/1.052, allocations: 0.5074 MB / 0.9869 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/1.052, allocations: 0 / 0.9869 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.00121/1.053, allocations: 0.686 MB / 0.9875 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.053, allocations: 7.984 kB / 0.9875 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.053, allocations: 5.625 kB / 0.9875 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/1.053, allocations: 101 kB / 0.9876 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/1.054, allocations: 123.8 kB / 0.9878 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000552/1.054, allocations: 0.6603 MB / 0.9884 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/1.055, allocations: 47.52 kB / 0.9885 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/1.055, allocations: 28 kB / 0.9885 GB, free: 8.594 MB / 0.7794 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.0002144/1.055, allocations: 217 kB / 0.9887 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/1.055, allocations: 98.78 kB / 0.9888 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/1.057, allocations: 0.9375 MB / 0.9897 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/1.058, allocations: 0.8582 MB / 0.9905 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.058, allocations: 0 / 0.9905 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/1.059, allocations: 255.6 kB / 0.9908 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.059, allocations: 12 kB / 0.9908 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/1.059, allocations: 23.92 kB / 0.9908 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.06, allocations: 54.41 kB / 0.9909 GB, free: 6.07 MB / 0.7794 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.001392/1.061, allocations: 0.6003 MB / 0.9914 GB, free: 5.465 MB / 0.7794 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated