Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001825/0.001825, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.002059/0.002059, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7695/0.7695, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.3 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1728, allocations: 80.93 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.5343/0.7071, allocations: 167.6 MB / 0.8289 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.7201, allocations: 8.899 MB / 0.8376 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.7221, allocations: 41.16 kB / 0.8377 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.724, allocations: 0.6418 MB / 0.8383 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.7285, allocations: 1.521 MB / 0.8398 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.7318, allocations: 1.197 MB / 0.8409 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003925/0.7357, allocations: 2.706 MB / 0.8436 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.7377, allocations: 0.9668 MB / 0.8445 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.7407, allocations: 1.026 MB / 0.8455 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.7426, allocations: 0.9939 MB / 0.8465 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.743, allocations: 95.69 kB / 0.8466 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.7461, allocations: 1.05 MB / 0.8476 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.7466, allocations: 275.5 kB / 0.8479 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.7478, allocations: 0.614 MB / 0.8485 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.7516, allocations: 1.745 MB / 0.8502 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7516, allocations: 6.688 kB / 0.8502 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7516, allocations: 0 / 0.8502 GB, free: 408 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.921e-05/0.7517, allocations: 0 / 0.8502 GB, free: 408 kB / 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.003561/0.7553, allocations: 1.558 MB / 0.8517 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.7553, allocations: 8.891 kB / 0.8517 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.7558, allocations: 143.7 kB / 0.8519 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.7577, allocations: 0.8731 MB / 0.8527 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.7578, allocations: 70.25 kB / 0.8528 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.7579, allocations: 82.42 kB / 0.8529 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.7594, allocations: 0.8673 MB / 0.8537 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.7595, allocations: 3.938 kB / 0.8537 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.7595, allocations: 35.97 kB / 0.8537 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.7596, allocations: 19.56 kB / 0.8538 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.7607, allocations: 0.6346 MB / 0.8544 GB, free: 13.38 MB / 0.6231 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.004822/0.7656, allocations: 3.966 MB / 0.8583 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7668, allocations: 0.5613 MB / 0.8588 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.7673, allocations: 290.4 kB / 0.8591 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.7683, allocations: 1.243 MB / 0.8603 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.7689, allocations: 331 kB / 0.8606 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=63): time 4.027e-06/0.7689, allocations: 0 / 0.8606 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63): time 0.00253/0.7715, allocations: 1.138 MB / 0.8617 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.7715, allocations: 81.67 kB / 0.8618 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.7727, allocations: 0.8689 MB / 0.8626 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.7728, allocations: 37.7 kB / 0.8627 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.7731, allocations: 472.1 kB / 0.8631 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.7733, allocations: 212.9 kB / 0.8633 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.7735, allocations: 114.2 kB / 0.8634 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7736, allocations: 330 kB / 0.8638 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.7741, allocations: 219.3 kB / 0.864 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.7746, allocations: 308.4 kB / 0.8643 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.7754, allocations: 0.5308 MB / 0.8648 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7754, allocations: 0 / 0.8648 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001338/0.7768, allocations: 0.7211 MB / 0.8655 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7768, allocations: 4 kB / 0.8655 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7768, allocations: 4 kB / 0.8655 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.7774, allocations: 104.8 kB / 0.8656 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.7779, allocations: 123.8 kB / 0.8657 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005707/0.7785, allocations: 0.6579 MB / 0.8664 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.779, allocations: 67.36 kB / 0.8664 GB, free: 284 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.7791, allocations: 31.88 kB / 0.8664 GB, free: 252 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006329/0.7797, allocations: 397.1 kB / 0.8668 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000446/0.7802, allocations: 306 kB / 0.8671 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000767/0.781, allocations: 0.5035 MB / 0.8676 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.781, allocations: 4 kB / 0.8676 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001201/0.7822, allocations: 0.6823 MB / 0.8683 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.7822, allocations: 9.406 kB / 0.8683 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.7822, allocations: 4 kB / 0.8683 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.7827, allocations: 104.7 kB / 0.8684 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.7831, allocations: 107.9 kB / 0.8685 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/0.7836, allocations: 0.6733 MB / 0.8692 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.7842, allocations: 39.67 kB / 0.8692 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.7842, allocations: 24.09 kB / 0.8692 GB, free: 13.31 MB / 0.6387 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.0002028/0.7844, allocations: 220.1 kB / 0.8694 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.7846, allocations: 102.8 kB / 0.8695 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.7864, allocations: 0.9377 MB / 0.8704 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/0.7876, allocations: 0.8581 MB / 0.8713 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.7876, allocations: 0 / 0.8713 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.7881, allocations: 255.5 kB / 0.8715 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.7882, allocations: 12 kB / 0.8715 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.7887, allocations: 31.86 kB / 0.8716 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.7888, allocations: 44.59 kB / 0.8716 GB, free: 10.77 MB / 0.6387 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.001502/0.7903, allocations: 0.5926 MB / 0.8722 GB, free: 10.16 MB / 0.6387 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated