Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001503/0.001503, allocations: 119.3 kB / 16.42 MB, free: 6.496 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.001636/0.001636, allocations: 187.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.472/1.472, 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 11.0.1-master/package.mo): time 2.778/2.778, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 63.84 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 159.1 MB / 1.221 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.07102/1.124, allocations: 61.27 MB / 1.281 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01811/1.142, allocations: 12 MB / 1.292 GB, free: 8.961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/1.146, allocations: 59.62 kB / 1.293 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/1.148, allocations: 0.6986 MB / 1.293 GB, free: 8.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006529/1.155, allocations: 2.076 MB / 1.295 GB, free: 6.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/1.158, allocations: 1.218 MB / 1.296 GB, free: 4.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005514/1.164, allocations: 3.11 MB / 1.299 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/1.166, allocations: 1.116 MB / 1.301 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/1.17, allocations: 1.368 MB / 1.302 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/1.172, allocations: 0.9023 MB / 1.303 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004339/1.173, allocations: 120 kB / 1.303 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/1.176, allocations: 1.443 MB / 1.304 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005758/1.177, allocations: 298.8 kB / 1.305 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/1.178, allocations: 0.6958 MB / 1.305 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004902/1.183, allocations: 2.312 MB / 1.308 GB, free: 9.492 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.183, allocations: 0 / 1.308 GB, free: 9.492 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/1.183, allocations: 0 / 1.308 GB, free: 9.492 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.057e-05/1.183, allocations: 0 / 1.308 GB, free: 9.492 MB / 1.029 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.00445/1.188, allocations: 1.75 MB / 1.309 GB, free: 7.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.188, allocations: 8.625 kB / 1.309 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.19, allocations: 414.8 kB / 1.31 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/1.193, allocations: 1.166 MB / 1.311 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.294e-05/1.193, allocations: 62 kB / 1.311 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/1.194, allocations: 80 kB / 1.311 GB, free: 5.906 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/1.196, allocations: 1.025 MB / 1.312 GB, free: 4.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.196, allocations: 4 kB / 1.312 GB, free: 4.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/1.196, allocations: 32 kB / 1.312 GB, free: 4.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/1.196, allocations: 20 kB / 1.312 GB, free: 4.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/1.199, allocations: 0.8781 MB / 1.313 GB, free: 3.891 MB / 1.029 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.00789/1.207, allocations: 5.238 MB / 1.318 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/1.21, allocations: 0.7881 MB / 1.319 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/1.211, allocations: 312.5 kB / 1.319 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/1.212, allocations: 0.9064 MB / 1.32 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.212, allocations: 46.44 kB / 1.32 GB, free: 12.01 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/1.212, allocations: 4 kB / 1.32 GB, free: 12 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.006376/1.218, allocations: 1.587 MB / 1.321 GB, free: 10.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/1.218, allocations: 59.41 kB / 1.322 GB, free: 10.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/1.22, allocations: 1.084 MB / 1.323 GB, free: 9.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/1.22, allocations: 37.7 kB / 1.323 GB, free: 9.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/1.221, allocations: 0.5272 MB / 1.323 GB, free: 8.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.221, allocations: 157.8 kB / 1.323 GB, free: 8.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.221, allocations: 138.1 kB / 1.323 GB, free: 8.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.221, allocations: 337.9 kB / 1.324 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009758/1.222, allocations: 315.2 kB / 1.324 GB, free: 7.699 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/1.223, allocations: 0.5407 MB / 1.325 GB, free: 7.059 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.225, allocations: 0.754 MB / 1.325 GB, free: 6.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.225, allocations: 0 / 1.325 GB, free: 6.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003076/1.228, allocations: 1.047 MB / 1.326 GB, free: 5.176 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.228, allocations: 4 kB / 1.326 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.228, allocations: 8 kB / 1.326 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/1.23, allocations: 308.7 kB / 1.327 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/1.23, allocations: 131.8 kB / 1.327 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/1.232, allocations: 0.9073 MB / 1.328 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.233, allocations: 163.2 kB / 1.328 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.234, allocations: 31.98 kB / 1.328 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001434/1.235, allocations: 0.5207 MB / 1.328 GB, free: 3.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001191/1.236, allocations: 0.5407 MB / 1.329 GB, free: 2.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001915/1.238, allocations: 0.726 MB / 1.33 GB, free: 1.648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-05/1.238, allocations: 4 kB / 1.33 GB, free: 1.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003197/1.241, allocations: 1.028 MB / 1.331 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/1.241, allocations: 14.28 kB / 1.331 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.241, allocations: 8 kB / 1.331 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.243, allocations: 302.5 kB / 1.331 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/1.243, allocations: 139.8 kB / 1.331 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/1.245, allocations: 0.8957 MB / 1.332 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.246, allocations: 131.6 kB / 1.332 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/1.246, allocations: 35.98 kB / 1.332 GB, free: 15.07 MB / 1.061 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.0002855/1.247, allocations: 220 kB / 1.332 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/1.247, allocations: 110.6 kB / 1.332 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/1.25, allocations: 1.079 MB / 1.333 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.25, allocations: 0 / 1.333 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.251, allocations: 4 kB / 1.333 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/1.251, allocations: 267.5 kB / 1.334 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/1.251, allocations: 12 kB / 1.334 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/1.252, allocations: 71.91 kB / 1.334 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.252, allocations: 32.33 kB / 1.334 GB, free: 13.24 MB / 1.061 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.002965/1.255, allocations: 0.7848 MB / 1.335 GB, free: 12.45 MB / 1.061 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