Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009415, allocations: 99.62 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.0009669/0.0009673, allocations: 177.3 kB / 15.95 MB, free: 216 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6798, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.2548/0.9347, allocations: 227.2 MB / 1.175 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02644/0.9612, allocations: 20.11 MB / 1.195 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004153/0.9654, allocations: 87.44 kB / 1.195 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.9695, allocations: 1.186 MB / 1.196 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.9811, allocations: 3.676 MB / 1.2 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007073/0.9882, allocations: 2.504 MB / 1.202 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01308/1.001, allocations: 9.219 MB / 1.211 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007121/1.008, allocations: 5.046 MB / 1.216 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/1.019, allocations: 4.395 MB / 1.221 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005764/1.025, allocations: 3.057 MB / 1.224 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/1.026, allocations: 244 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007683/1.034, allocations: 2.481 MB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002851/1.037, allocations: 1.421 MB / 1.228 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003008/1.04, allocations: 1.42 MB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/1.052, allocations: 10 MB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.052, allocations: 0 / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.108e-06/1.052, allocations: 4 kB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003615/1.052, allocations: 3.938 kB / 1.239 GB, free: 11.42 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1075 * Number of variables: 1075 Notification: Performance of Generate backend data structure: time 0.01744/1.07, allocations: 6.342 MB / 1.245 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.07, allocations: 8.031 kB / 1.245 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008647/1.078, allocations: 1.343 MB / 1.246 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5371/1.615, allocations: 5.802 MB / 1.252 GB, free: 275 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005652/1.616, allocations: 0.7435 MB / 1.253 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/1.618, allocations: 450.1 kB / 1.253 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/1.633, allocations: 6.167 MB / 1.259 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/1.633, allocations: 11.59 kB / 1.259 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005572/1.633, allocations: 172 kB / 1.259 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003162/1.634, allocations: 204.3 kB / 1.259 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/1.646, allocations: 5.525 MB / 1.265 GB, free: 269.6 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.03543/1.681, allocations: 25.4 MB / 1.29 GB, free: 249.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/1.687, allocations: 4.844 MB / 1.294 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/1.687, allocations: 0.7561 MB / 1.295 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002869/1.69, allocations: 2.184 MB / 1.297 GB, free: 244.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=305): time 5.1e-06/1.69, allocations: 0 / 1.297 GB, free: 244.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=305): time 0.01034/1.701, allocations: 5.91 MB / 1.303 GB, free: 241 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/1.701, allocations: 135 kB / 1.303 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/1.707, allocations: 4.661 MB / 1.308 GB, free: 236.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006105/1.708, allocations: 97.64 kB / 1.308 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.709, allocations: 2.375 MB / 1.31 GB, free: 234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.71, allocations: 1.065 MB / 1.311 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.711, allocations: 64.55 kB / 1.311 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.711, allocations: 440.9 kB / 1.312 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/1.713, allocations: 1.73 MB / 1.313 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/1.716, allocations: 2.463 MB / 1.316 GB, free: 228 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/1.718, allocations: 2.209 MB / 1.318 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.718, allocations: 4 kB / 1.318 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007432/1.726, allocations: 5.008 MB / 1.323 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007624/1.727, allocations: 4.96 MB / 1.328 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/1.727, allocations: 8 kB / 1.328 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/1.727, allocations: 225.5 kB / 1.328 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/1.731, allocations: 0.9026 MB / 1.329 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/1.733, allocations: 3.324 MB / 1.332 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00692/1.74, allocations: 0.7211 MB / 1.333 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009721/1.741, allocations: 132 kB / 1.333 GB, free: 210 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.741, allocations: 8 kB / 1.333 GB, free: 210 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.003899/1.745, allocations: 2.076 MB / 1.335 GB, free: 207.9 MB / 0.9981 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated