Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 109.2 kB / 16.41 MB, free: 6.438 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.001781/0.001782, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 75.83 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9638/0.9661, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.06799/1.034, allocations: 61.28 MB / 1.227 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01834/1.053, allocations: 12.02 MB / 1.239 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/1.055, allocations: 59.69 kB / 1.239 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/1.057, allocations: 0.6986 MB / 1.24 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/1.063, allocations: 2.069 MB / 1.242 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/1.066, allocations: 1.216 MB / 1.243 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005182/1.071, allocations: 3.104 MB / 1.246 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/1.073, allocations: 1.104 MB / 1.247 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/1.077, allocations: 1.381 MB / 1.248 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.079, allocations: 0.91 MB / 1.249 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004045/1.079, allocations: 119.9 kB / 1.249 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003913/1.083, allocations: 1.447 MB / 1.251 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006383/1.084, allocations: 298.8 kB / 1.251 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/1.086, allocations: 0.6997 MB / 1.252 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006149/1.092, allocations: 2.312 MB / 1.254 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.092, allocations: 0 / 1.254 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.414e-06/1.092, allocations: 0 / 1.254 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.332e-05/1.092, allocations: 4 kB / 1.254 GB, free: 10.81 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00469/1.096, allocations: 1.75 MB / 1.256 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.097, allocations: 8.922 kB / 1.256 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/1.099, allocations: 410.8 kB / 1.256 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/1.102, allocations: 1.168 MB / 1.257 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/1.102, allocations: 58 kB / 1.257 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.102, allocations: 80 kB / 1.257 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/1.104, allocations: 1.021 MB / 1.258 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.104, allocations: 0 / 1.258 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/1.105, allocations: 36 kB / 1.258 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/1.105, allocations: 20 kB / 1.258 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.107, allocations: 0.8781 MB / 1.259 GB, free: 5.215 MB / 0.9825 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.006956/1.114, allocations: 5.239 MB / 1.264 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/1.118, allocations: 0.7919 MB / 1.265 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008554/1.119, allocations: 308.6 kB / 1.265 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/1.119, allocations: 0.8986 MB / 1.266 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/1.119, allocations: 46.45 kB / 1.266 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/1.119, allocations: 4 kB / 1.266 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.006204/1.126, allocations: 1.594 MB / 1.268 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/1.126, allocations: 55.41 kB / 1.268 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.127, allocations: 1.088 MB / 1.269 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/1.127, allocations: 37.7 kB / 1.269 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/1.128, allocations: 0.5311 MB / 1.27 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/1.128, allocations: 153.8 kB / 1.27 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.128, allocations: 142.1 kB / 1.27 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.128, allocations: 330 kB / 1.27 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009368/1.129, allocations: 323.2 kB / 1.27 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/1.13, allocations: 0.5446 MB / 1.271 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/1.132, allocations: 0.7424 MB / 1.272 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.132, allocations: 0 / 1.272 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002817/1.135, allocations: 1.047 MB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.135, allocations: 8 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.135, allocations: 4 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/1.136, allocations: 304.6 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/1.137, allocations: 131.9 kB / 1.273 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/1.138, allocations: 0.9073 MB / 1.274 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.14, allocations: 159.2 kB / 1.274 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/1.14, allocations: 35.97 kB / 1.274 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001233/1.141, allocations: 0.5245 MB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/1.142, allocations: 0.5368 MB / 1.275 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001757/1.144, allocations: 0.7295 MB / 1.276 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/1.144, allocations: 3.984 kB / 1.276 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002823/1.147, allocations: 1.028 MB / 1.277 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.147, allocations: 14.44 kB / 1.277 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.147, allocations: 4 kB / 1.277 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.148, allocations: 304.6 kB / 1.277 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/1.148, allocations: 135.8 kB / 1.277 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.15, allocations: 0.8932 MB / 1.278 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.151, allocations: 139.5 kB / 1.278 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/1.151, allocations: 35.98 kB / 1.278 GB, free: 412 kB / 0.9981 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 (58): * Single equations (assignments): 57 * 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.0002357/1.151, allocations: 220 kB / 1.279 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/1.151, allocations: 114.6 kB / 1.279 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/1.155, allocations: 1.079 MB / 1.28 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/1.155, allocations: 0 / 1.28 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.155, allocations: 0 / 1.28 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/1.155, allocations: 263.5 kB / 1.28 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.155, allocations: 8 kB / 1.28 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/1.156, allocations: 79.89 kB / 1.28 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/1.156, allocations: 32.33 kB / 1.28 GB, free: 14.57 MB / 1.014 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.002871/1.159, allocations: 0.781 MB / 1.281 GB, free: 13.79 MB / 1.014 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature could not be translated