Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001365, allocations: 108 kB / 16.42 MB, free: 5.996 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.001479/0.001479, allocations: 191 kB / 17.35 MB, free: 5.605 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 68.12 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8586, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06554/0.9242, allocations: 61.19 MB / 1.148 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.9431, allocations: 11.99 MB / 1.16 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.946, allocations: 59.72 kB / 1.16 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.9487, allocations: 0.7009 MB / 1.161 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.956, allocations: 2.072 MB / 1.163 GB, free: 15.33 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.9602, allocations: 1.203 MB / 1.164 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006039/0.9663, allocations: 3.091 MB / 1.167 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.9687, allocations: 1.101 MB / 1.168 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.973, allocations: 1.359 MB / 1.169 GB, free: 11.94 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.9754, allocations: 0.8922 MB / 1.17 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.9759, allocations: 116 kB / 1.17 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004683/0.9806, allocations: 1.456 MB / 1.172 GB, free: 11.03 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.9812, allocations: 292.7 kB / 1.172 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.9831, allocations: 0.6888 MB / 1.173 GB, free: 10.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005828/0.9889, allocations: 2.294 MB / 1.175 GB, free: 9.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.989, allocations: 0 / 1.175 GB, free: 9.203 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.989, allocations: 0 / 1.175 GB, free: 9.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.359e-05/0.989, allocations: 0 / 1.175 GB, free: 9.203 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005151/0.9942, allocations: 1.726 MB / 1.177 GB, free: 7.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.9943, allocations: 8 kB / 1.177 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.9969, allocations: 411.1 kB / 1.177 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/1, allocations: 1.167 MB / 1.178 GB, free: 6.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/1, allocations: 65.12 kB / 1.178 GB, free: 6.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1, allocations: 78.81 kB / 1.178 GB, free: 6.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/1.003, allocations: 0.9931 MB / 1.179 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.003, allocations: 10.17 kB / 1.179 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/1.003, allocations: 35.47 kB / 1.179 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/1.003, allocations: 19.59 kB / 1.179 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/1.005, allocations: 0.8505 MB / 1.18 GB, free: 5.566 MB / 0.92 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.007974/1.013, allocations: 5.228 MB / 1.185 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/1.017, allocations: 0.7815 MB / 1.186 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/1.018, allocations: 296.6 kB / 1.186 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/1.018, allocations: 0.9028 MB / 1.187 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.018, allocations: 35.97 kB / 1.187 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 3.376e-06/1.018, allocations: 0 / 1.187 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43): time 0.007164/1.025, allocations: 1.693 MB / 1.189 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.025, allocations: 55.16 kB / 1.189 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/1.028, allocations: 1.078 MB / 1.19 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.028, allocations: 41.73 kB / 1.19 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000586/1.028, allocations: 0.5377 MB / 1.191 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/1.029, allocations: 148.8 kB / 1.191 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.029, allocations: 135.7 kB / 1.191 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.029, allocations: 330.7 kB / 1.191 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000931/1.03, allocations: 304.9 kB / 1.192 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.031, allocations: 0.5323 MB / 1.192 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.033, allocations: 0.7089 MB / 1.193 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.033, allocations: 5.344 kB / 1.193 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003098/1.036, allocations: 1.008 MB / 1.194 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.036, allocations: 7.312 kB / 1.194 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.036, allocations: 5.688 kB / 1.194 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.037, allocations: 310.8 kB / 1.194 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/1.038, allocations: 128.1 kB / 1.194 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/1.04, allocations: 0.9017 MB / 1.195 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.041, allocations: 147.6 kB / 1.195 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.041, allocations: 35.17 kB / 1.195 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.043, allocations: 0.5123 MB / 1.196 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001157/1.044, allocations: 0.5261 MB / 1.196 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001793/1.045, allocations: 0.7019 MB / 1.197 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.486e-06/1.046, allocations: 1.156 kB / 1.197 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003128/1.049, allocations: 1.005 MB / 1.198 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.049, allocations: 7.281 kB / 1.198 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.049, allocations: 9.844 kB / 1.198 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/1.05, allocations: 295.6 kB / 1.198 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/1.05, allocations: 132.1 kB / 1.198 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/1.052, allocations: 0.9073 MB / 1.199 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.053, allocations: 128.2 kB / 1.199 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/1.054, allocations: 35.39 kB / 1.199 GB, free: 7.254 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002583/1.054, allocations: 213.2 kB / 1.2 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/1.054, allocations: 120.4 kB / 1.2 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/1.057, allocations: 0.9141 MB / 1.201 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.057, allocations: 3.984 kB / 1.201 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.057, allocations: 1.375 kB / 1.201 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006646/1.057, allocations: 261.2 kB / 1.201 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.058, allocations: 9.281 kB / 1.201 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/1.059, allocations: 68.42 kB / 1.201 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/1.059, allocations: 26.52 kB / 1.201 GB, free: 6.172 MB / 0.9356 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.002911/1.062, allocations: 0.7681 MB / 1.202 GB, free: 5.754 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Examples.Carnot_TEva could not be translated