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.001279/0.001279, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001328/0.001328, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.275/1.275, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.763/0.763, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 58.19 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.499/0.6331, allocations: 167.6 MB / 0.824 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.6456, allocations: 8.89 MB / 0.8327 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.6474, allocations: 39.59 kB / 0.8327 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.6494, allocations: 0.6438 MB / 0.8333 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.6536, allocations: 1.525 MB / 0.8348 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.6566, allocations: 1.187 MB / 0.836 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003221/0.6598, allocations: 2.702 MB / 0.8386 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.6613, allocations: 0.9656 MB / 0.8395 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.6634, allocations: 1.028 MB / 0.8406 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.6649, allocations: 1 MB / 0.8415 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.6652, allocations: 95.53 kB / 0.8416 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.6675, allocations: 1.043 MB / 0.8426 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.6679, allocations: 286.8 kB / 0.8429 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009132/0.6688, allocations: 0.6048 MB / 0.8435 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.6714, allocations: 1.747 MB / 0.8452 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6714, allocations: 0 / 0.8452 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6714, allocations: 6.719 kB / 0.8452 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.835e-05/0.6715, allocations: 0 / 0.8452 GB, free: 6.109 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.002868/0.6743, allocations: 1.564 MB / 0.8467 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.6744, allocations: 10.09 kB / 0.8468 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.6748, allocations: 146.8 kB / 0.8469 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.6763, allocations: 0.886 MB / 0.8478 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.6763, allocations: 58.38 kB / 0.8478 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6764, allocations: 77.09 kB / 0.8479 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6778, allocations: 0.8731 MB / 0.8487 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6779, allocations: 6.25 kB / 0.8487 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.6779, allocations: 31.84 kB / 0.8488 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.678, allocations: 20.31 kB / 0.8488 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.6791, allocations: 0.6322 MB / 0.8494 GB, free: 3.168 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.004365/0.6834, allocations: 3.952 MB / 0.8533 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.6846, allocations: 0.5732 MB / 0.8538 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.6851, allocations: 291.2 kB / 0.8541 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/0.686, allocations: 1.239 MB / 0.8553 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.6866, allocations: 331 kB / 0.8556 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=63): time 2.775e-06/0.6866, allocations: 4 kB / 0.8556 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63): time 0.002364/0.689, allocations: 1.13 MB / 0.8567 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.689, allocations: 85.67 kB / 0.8568 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.69, allocations: 0.8805 MB / 0.8577 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.6901, allocations: 37.7 kB / 0.8577 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.6904, allocations: 468.2 kB / 0.8582 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.6906, allocations: 212.8 kB / 0.8584 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.6908, allocations: 114.3 kB / 0.8585 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6909, allocations: 330 kB / 0.8588 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.6913, allocations: 215.4 kB / 0.859 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.6918, allocations: 312.4 kB / 0.8593 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.6927, allocations: 0.5308 MB / 0.8598 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6927, allocations: 3.938 kB / 0.8598 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001249/0.6939, allocations: 0.7093 MB / 0.8605 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.694, allocations: 8 kB / 0.8605 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.694, allocations: 288 / 0.8605 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.6945, allocations: 120.7 kB / 0.8606 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.695, allocations: 115.8 kB / 0.8607 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005392/0.6955, allocations: 0.6615 MB / 0.8614 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.6961, allocations: 67.45 kB / 0.8615 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.6961, allocations: 27.94 kB / 0.8615 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005877/0.6967, allocations: 397.2 kB / 0.8619 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000414/0.6971, allocations: 296.4 kB / 0.8621 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007767/0.6979, allocations: 0.5113 MB / 0.8626 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.6979, allocations: 0 / 0.8626 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001146/0.6991, allocations: 0.6821 MB / 0.8633 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.6991, allocations: 8 kB / 0.8633 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6991, allocations: 288 / 0.8633 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.6995, allocations: 108.8 kB / 0.8634 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.7, allocations: 111.8 kB / 0.8635 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004966/0.7005, allocations: 0.6654 MB / 0.8642 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.701, allocations: 47.64 kB / 0.8642 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.701, allocations: 28 kB / 0.8643 GB, free: 3.934 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.0001874/0.7012, allocations: 220.1 kB / 0.8645 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.7014, allocations: 98.78 kB / 0.8646 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.7031, allocations: 0.9498 MB / 0.8655 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.7043, allocations: 0.8542 MB / 0.8663 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7044, allocations: 0.5625 kB / 0.8663 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.7048, allocations: 251.6 kB / 0.8666 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7049, allocations: 20 kB / 0.8666 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.7053, allocations: 27.73 kB / 0.8666 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.7054, allocations: 48.59 kB / 0.8666 GB, free: 1.387 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.001392/0.7068, allocations: 0.5809 MB / 0.8672 GB, free: 0.7969 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