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.001464/0.00147, allocations: 113 kB / 16.42 MB, free: 6.504 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.001448/0.001448, allocations: 183.9 kB / 17.34 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.265/1.265, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7525/0.7525, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.16 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1643, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.5852/0.7496, allocations: 167.6 MB / 0.8289 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.7638, allocations: 8.897 MB / 0.8376 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/0.7664, allocations: 40.91 kB / 0.8377 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.7685, allocations: 0.6427 MB / 0.8383 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.7731, allocations: 1.529 MB / 0.8398 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.7763, allocations: 1.187 MB / 0.8409 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003708/0.78, allocations: 2.707 MB / 0.8436 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.7817, allocations: 0.9713 MB / 0.8445 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.7843, allocations: 1.024 MB / 0.8455 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.7861, allocations: 0.9978 MB / 0.8465 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.7865, allocations: 95.75 kB / 0.8466 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.7893, allocations: 1.05 MB / 0.8476 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.7898, allocations: 273.1 kB / 0.8479 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.791, allocations: 0.6184 MB / 0.8485 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.7946, allocations: 1.757 MB / 0.8502 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7947, allocations: 4 kB / 0.8502 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd: time 4.088e-06/0.7947, allocations: 0 / 0.8502 GB, free: 408 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.375e-05/0.7947, allocations: 3.938 kB / 0.8502 GB, free: 404 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.003669/0.7984, allocations: 1.6 MB / 0.8518 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7985, allocations: 11.17 kB / 0.8518 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005279/0.799, allocations: 144.2 kB / 0.8519 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.8008, allocations: 0.8827 MB / 0.8528 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.8009, allocations: 70.41 kB / 0.8529 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.801, allocations: 77.38 kB / 0.8529 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.8026, allocations: 0.8687 MB / 0.8538 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.8026, allocations: 2.562 kB / 0.8538 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.8027, allocations: 35.53 kB / 0.8538 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.8027, allocations: 19.72 kB / 0.8538 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.804, allocations: 0.6353 MB / 0.8545 GB, free: 13.3 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.004903/0.8089, allocations: 3.97 MB / 0.8583 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.8101, allocations: 0.5613 MB / 0.8589 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.8106, allocations: 294.4 kB / 0.8592 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009439/0.8115, allocations: 1.243 MB / 0.8604 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.8121, allocations: 327 kB / 0.8607 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=63): time 3.787e-06/0.8122, allocations: 0 / 0.8607 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63): time 0.00248/0.8146, allocations: 1.146 MB / 0.8618 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.8147, allocations: 85.67 kB / 0.8619 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.8158, allocations: 0.865 MB / 0.8627 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.8159, allocations: 37.7 kB / 0.8628 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.8162, allocations: 476.8 kB / 0.8632 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.8164, allocations: 226 kB / 0.8634 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.8166, allocations: 118.3 kB / 0.8636 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8167, allocations: 333.9 kB / 0.8639 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.8172, allocations: 211.4 kB / 0.8641 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.8177, allocations: 316.4 kB / 0.8644 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/0.8186, allocations: 0.5269 MB / 0.8649 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8186, allocations: 0 / 0.8649 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001352/0.8199, allocations: 0.7178 MB / 0.8656 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.82, allocations: 8 kB / 0.8656 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.82, allocations: 0 / 0.8656 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.8206, allocations: 116.7 kB / 0.8657 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.8211, allocations: 115.8 kB / 0.8658 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006326/0.8217, allocations: 0.6579 MB / 0.8665 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.8223, allocations: 67.55 kB / 0.8665 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.8224, allocations: 31.92 kB / 0.8666 GB, free: 132 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006418/0.8231, allocations: 389.3 kB / 0.8669 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005291/0.8236, allocations: 304.4 kB / 0.8672 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008501/0.8245, allocations: 0.5074 MB / 0.8677 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.192e-06/0.8245, allocations: 0 / 0.8677 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.00135/0.8258, allocations: 0.6906 MB / 0.8684 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.8259, allocations: 8 kB / 0.8684 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8259, allocations: 0 / 0.8684 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.8263, allocations: 112.7 kB / 0.8685 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.8267, allocations: 107.8 kB / 0.8686 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006233/0.8274, allocations: 0.6745 MB / 0.8693 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.828, allocations: 43.73 kB / 0.8693 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.8281, allocations: 24.08 kB / 0.8693 GB, free: 13.18 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.0002462/0.8283, allocations: 224.1 kB / 0.8695 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.8286, allocations: 103.3 kB / 0.8696 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.8306, allocations: 0.9472 MB / 0.8706 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.8319, allocations: 0.8504 MB / 0.8714 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.832, allocations: 0 / 0.8714 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.8324, allocations: 256.2 kB / 0.8716 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8326, allocations: 15.94 kB / 0.8717 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.8331, allocations: 28.67 kB / 0.8717 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.8332, allocations: 44.58 kB / 0.8717 GB, free: 10.63 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.001427/0.8346, allocations: 0.6005 MB / 0.8723 GB, free: 10.02 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