Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001462/0.001462, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.673/0.6733, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.2312/0.9045, allocations: 216 MB / 1.164 GB, free: 7.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0254/0.93, allocations: 17.82 MB / 1.182 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.9331, allocations: 67.56 kB / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.9369, allocations: 1.057 MB / 1.183 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009241/0.9461, allocations: 3.049 MB / 1.186 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.9523, allocations: 2.106 MB / 1.188 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01815/0.9705, allocations: 8.639 MB / 1.196 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008496/0.979, allocations: 4.764 MB / 1.201 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009777/0.9889, allocations: 4.065 MB / 1.205 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006123/0.995, allocations: 2.855 MB / 1.208 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.9966, allocations: 236 kB / 1.208 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00722/1.004, allocations: 2.068 MB / 1.21 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002935/1.007, allocations: 1.351 MB / 1.211 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003282/1.01, allocations: 1.339 MB / 1.213 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01775/1.028, allocations: 9.539 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.028, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.306e-06/1.028, allocations: 4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004913/1.028, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01865/1.047, allocations: 5.879 MB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.047, allocations: 8.031 kB / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008209/1.055, allocations: 1.25 MB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/1.069, allocations: 5.541 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007029/1.07, allocations: 0.7183 MB / 1.235 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/1.071, allocations: 419.9 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/1.086, allocations: 5.941 MB / 1.241 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/1.087, allocations: 19.77 kB / 1.241 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/1.088, allocations: 164 kB / 1.241 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/1.088, allocations: 191.7 kB / 1.242 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/1.102, allocations: 5.354 MB / 1.247 GB, free: 2.758 MB / 0.9981 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.5454/1.648, allocations: 24.04 MB / 1.27 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006103/1.654, allocations: 4.527 MB / 1.275 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/1.655, allocations: 0.8402 MB / 1.276 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003822/1.659, allocations: 2.154 MB / 1.278 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=292): time 1.002e-05/1.659, allocations: 0 / 1.278 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=292): time 0.009706/1.668, allocations: 5.387 MB / 1.283 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/1.668, allocations: 172.8 kB / 1.283 GB, free: 251.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/1.676, allocations: 4.309 MB / 1.287 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007231/1.677, allocations: 86.22 kB / 1.287 GB, free: 249.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002038/1.679, allocations: 2.172 MB / 1.29 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.68, allocations: 1.009 MB / 1.291 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/1.681, allocations: 63.84 kB / 1.291 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002182/1.681, allocations: 428.2 kB / 1.291 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/1.683, allocations: 1.678 MB / 1.293 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/1.686, allocations: 2.337 MB / 1.295 GB, free: 243.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/1.689, allocations: 2.159 MB / 1.297 GB, free: 242.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.689, allocations: 2.562 kB / 1.297 GB, free: 242.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.007301/1.696, allocations: 4.691 MB / 1.302 GB, free: 240.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007537/1.697, allocations: 4.384 MB / 1.306 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.697, allocations: 7.375 kB / 1.306 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.189e-05/1.697, allocations: 25.06 kB / 1.306 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/1.701, allocations: 0.8654 MB / 1.307 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/1.702, allocations: 2.475 MB / 1.309 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.707, allocations: 0.6756 MB / 1.31 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/1.708, allocations: 120 kB / 1.31 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.708, allocations: 8.172 kB / 1.31 GB, free: 232.4 MB / 0.9981 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. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003623/1.711, allocations: 2.098 MB / 1.312 GB, free: 230.7 MB / 0.9981 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated