Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001253/0.001253, allocations: 113 kB / 17.09 MB, free: 5.961 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.00123/0.001231, allocations: 193.5 kB / 18.02 MB, free: 5.047 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.29/1.29, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7387/0.7387, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.58 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1573, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.5229/0.6803, allocations: 167.5 MB / 0.7963 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.6932, allocations: 8.906 MB / 0.805 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.6958, allocations: 40 kB / 0.8051 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.6977, allocations: 0.6469 MB / 0.8057 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.7027, allocations: 1.501 MB / 0.8072 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.7062, allocations: 1.187 MB / 0.8083 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004012/0.7102, allocations: 2.705 MB / 0.811 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.7119, allocations: 0.9641 MB / 0.8119 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.7148, allocations: 1.027 MB / 0.8129 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.7167, allocations: 0.9927 MB / 0.8139 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.717, allocations: 93.25 kB / 0.814 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.7197, allocations: 1.059 MB / 0.815 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.7202, allocations: 277.8 kB / 0.8153 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009978/0.7212, allocations: 0.6044 MB / 0.8159 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.7245, allocations: 1.742 MB / 0.8176 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7245, allocations: 3.938 kB / 0.8176 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7245, allocations: 0 / 0.8176 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.111e-05/0.7246, allocations: 0 / 0.8176 GB, free: 6.043 MB / 0.5919 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.003484/0.7281, allocations: 1.564 MB / 0.8191 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7282, allocations: 7.75 kB / 0.8191 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.7286, allocations: 139.7 kB / 0.8192 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.7304, allocations: 0.8866 MB / 0.8201 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.7305, allocations: 63.09 kB / 0.8202 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.7306, allocations: 74.12 kB / 0.8202 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.732, allocations: 0.8758 MB / 0.8211 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.7321, allocations: 0 / 0.8211 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.7322, allocations: 31.28 kB / 0.8211 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.7322, allocations: 20.44 kB / 0.8211 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.7332, allocations: 0.6326 MB / 0.8218 GB, free: 3.145 MB / 0.5919 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.004428/0.7377, allocations: 3.963 MB / 0.8256 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7388, allocations: 0.5768 MB / 0.8262 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.7392, allocations: 292.4 kB / 0.8265 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009468/0.7402, allocations: 1.242 MB / 0.8277 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.7408, allocations: 326 kB / 0.828 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.7408, allocations: 0 / 0.828 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63): time 0.002317/0.7431, allocations: 1.137 MB / 0.8291 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.7432, allocations: 85.02 kB / 0.8292 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.7441, allocations: 0.874 MB / 0.83 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.7442, allocations: 43.48 kB / 0.8301 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.7445, allocations: 467.3 kB / 0.8305 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.7447, allocations: 218 kB / 0.8307 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.7449, allocations: 114.2 kB / 0.8309 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.745, allocations: 333.7 kB / 0.8312 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.7454, allocations: 213.2 kB / 0.8314 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.7458, allocations: 308.5 kB / 0.8317 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.7466, allocations: 0.5303 MB / 0.8322 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7467, allocations: 2.344 kB / 0.8322 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001178/0.7478, allocations: 0.71 MB / 0.8329 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7479, allocations: 6.375 kB / 0.8329 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7479, allocations: 6.812 kB / 0.8329 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.7484, allocations: 118.2 kB / 0.833 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.7489, allocations: 116.4 kB / 0.8331 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005335/0.7494, allocations: 0.6585 MB / 0.8338 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.7499, allocations: 64.94 kB / 0.8338 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.75, allocations: 27.98 kB / 0.8338 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000548/0.7505, allocations: 396.6 kB / 0.8342 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004124/0.7509, allocations: 300 kB / 0.8345 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007446/0.7517, allocations: 0.5101 MB / 0.835 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.7517, allocations: 0 / 0.835 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001066/0.7528, allocations: 0.6865 MB / 0.8357 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7528, allocations: 4.719 kB / 0.8357 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.7528, allocations: 6.844 kB / 0.8357 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.7532, allocations: 107.8 kB / 0.8358 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.7536, allocations: 111.9 kB / 0.8359 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004856/0.7541, allocations: 0.6602 MB / 0.8365 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.7546, allocations: 52.45 kB / 0.8366 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.7546, allocations: 27.5 kB / 0.8366 GB, free: 7.746 MB / 0.6075 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.0001882/0.7548, allocations: 214.2 kB / 0.8368 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.755, allocations: 96.44 kB / 0.8369 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.7566, allocations: 0.9502 MB / 0.8378 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.7577, allocations: 0.8474 MB / 0.8387 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7577, allocations: 0 / 0.8387 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.758, allocations: 254.8 kB / 0.8389 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.7582, allocations: 18.61 kB / 0.8389 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.7586, allocations: 25.77 kB / 0.839 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.7587, allocations: 45.16 kB / 0.839 GB, free: 6.109 MB / 0.6075 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.001304/0.76, allocations: 0.5935 MB / 0.8396 GB, free: 5.777 MB / 0.6075 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume could not be translated