Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00178/0.00178, allocations: 114.4 kB / 16.42 MB, free: 6.5 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.002044/0.002044, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 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.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 55.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9848/0.9859, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.06376/1.05, allocations: 61.27 MB / 1.148 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01974/1.069, allocations: 12 MB / 1.16 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/1.073, allocations: 56.06 kB / 1.16 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/1.075, allocations: 0.698 MB / 1.161 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009297/1.084, allocations: 2.084 MB / 1.163 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00523/1.09, allocations: 1.202 MB / 1.164 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006028/1.096, allocations: 3.107 MB / 1.167 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/1.098, allocations: 1.115 MB / 1.168 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004192/1.102, allocations: 1.37 MB / 1.17 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/1.105, allocations: 0.9057 MB / 1.17 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005152/1.105, allocations: 121.8 kB / 1.171 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/1.11, allocations: 1.444 MB / 1.172 GB, free: 10.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006573/1.111, allocations: 303.4 kB / 1.172 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/1.112, allocations: 0.6955 MB / 1.173 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/1.118, allocations: 2.312 MB / 1.175 GB, free: 9.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.118, allocations: 0 / 1.175 GB, free: 9.051 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.442e-06/1.118, allocations: 1.094 kB / 1.175 GB, free: 9.051 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.136e-05/1.118, allocations: 0 / 1.175 GB, free: 9.051 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00516/1.123, allocations: 1.747 MB / 1.177 GB, free: 7.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.123, allocations: 12.72 kB / 1.177 GB, free: 7.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/1.126, allocations: 407.5 kB / 1.177 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/1.129, allocations: 1.168 MB / 1.178 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/1.129, allocations: 68.59 kB / 1.179 GB, free: 6.547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/1.129, allocations: 80.12 kB / 1.179 GB, free: 6.523 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/1.132, allocations: 1.015 MB / 1.18 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/1.132, allocations: 0.9688 kB / 1.18 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/1.132, allocations: 32.5 kB / 1.18 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/1.132, allocations: 23.69 kB / 1.18 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/1.134, allocations: 0.8743 MB / 1.181 GB, free: 5.391 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.00786/1.142, allocations: 5.249 MB / 1.186 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/1.146, allocations: 0.7897 MB / 1.186 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/1.147, allocations: 318.7 kB / 1.187 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/1.147, allocations: 0.9058 MB / 1.188 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/1.147, allocations: 33.41 kB / 1.188 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.825e-06/1.147, allocations: 3.938 kB / 1.188 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.006487/1.154, allocations: 1.601 MB / 1.189 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.154, allocations: 59.88 kB / 1.189 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.156, allocations: 1.086 MB / 1.19 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/1.156, allocations: 37.48 kB / 1.19 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/1.157, allocations: 0.5338 MB / 1.191 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/1.157, allocations: 153.5 kB / 1.191 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/1.157, allocations: 139.2 kB / 1.191 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.157, allocations: 331 kB / 1.191 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.158, allocations: 321.1 kB / 1.192 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/1.16, allocations: 0.5442 MB / 1.192 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/1.161, allocations: 0.744 MB / 1.193 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.161, allocations: 1.5 kB / 1.193 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00303/1.164, allocations: 1.045 MB / 1.194 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.165, allocations: 8.5 kB / 1.194 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.165, allocations: 4 kB / 1.194 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/1.166, allocations: 305.4 kB / 1.194 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/1.166, allocations: 137.1 kB / 1.195 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/1.168, allocations: 0.901 MB / 1.195 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.169, allocations: 159.2 kB / 1.196 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.591e-05/1.169, allocations: 31.08 kB / 1.196 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001366/1.171, allocations: 0.5244 MB / 1.196 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001161/1.172, allocations: 0.5382 MB / 1.197 GB, free: 9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001863/1.174, allocations: 0.7284 MB / 1.197 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.506e-06/1.174, allocations: 2.562 kB / 1.197 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002976/1.177, allocations: 1.039 MB / 1.198 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.177, allocations: 6.938 kB / 1.198 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.177, allocations: 5.188 kB / 1.198 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.178, allocations: 306 kB / 1.199 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/1.179, allocations: 132.2 kB / 1.199 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/1.18, allocations: 0.8935 MB / 1.2 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.182, allocations: 139.1 kB / 1.2 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.972e-05/1.182, allocations: 31.94 kB / 1.2 GB, free: 7.004 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 (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.0002903/1.182, allocations: 227.8 kB / 1.2 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/1.182, allocations: 109.1 kB / 1.2 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/1.186, allocations: 1.076 MB / 1.201 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.186, allocations: 7.922 kB / 1.201 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.186, allocations: 0 / 1.201 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/1.187, allocations: 265.6 kB / 1.201 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/1.187, allocations: 11.03 kB / 1.201 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00098/1.188, allocations: 82.84 kB / 1.202 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/1.188, allocations: 29.77 kB / 1.202 GB, free: 5.828 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.002972/1.191, allocations: 0.7824 MB / 1.202 GB, free: 5.41 MB / 0.9356 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