Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,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.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,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.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 104 kB / 16.41 MB, free: 6.508 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.001223/0.001223, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.356/1.356, 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.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 64.09 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8724, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0688/0.9412, allocations: 61.22 MB / 1.148 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.9599, allocations: 11.99 MB / 1.16 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.9624, allocations: 60.5 kB / 1.16 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.9648, allocations: 0.6969 MB / 1.161 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.9716, allocations: 2.072 MB / 1.163 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.9758, allocations: 1.203 MB / 1.164 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005626/0.9814, allocations: 3.088 MB / 1.167 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.9841, allocations: 1.101 MB / 1.168 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004384/0.9885, allocations: 1.361 MB / 1.169 GB, free: 11.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.991, allocations: 0.8975 MB / 1.17 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.9916, allocations: 118.8 kB / 1.17 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/0.9961, allocations: 1.466 MB / 1.172 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006846/0.9968, allocations: 293 kB / 1.172 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.9986, allocations: 0.6898 MB / 1.173 GB, free: 10.37 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005764/1.004, allocations: 2.31 MB / 1.175 GB, free: 9.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.004, allocations: 0 / 1.175 GB, free: 9.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/1.004, allocations: 0 / 1.175 GB, free: 9.141 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.969e-05/1.005, allocations: 0 / 1.175 GB, free: 9.141 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.005374/1.01, allocations: 1.723 MB / 1.177 GB, free: 7.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.01, allocations: 8.656 kB / 1.177 GB, free: 7.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/1.012, allocations: 344.6 kB / 1.177 GB, free: 7.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/1.015, allocations: 1.167 MB / 1.178 GB, free: 6.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/1.015, allocations: 60.97 kB / 1.178 GB, free: 6.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/1.016, allocations: 78.53 kB / 1.178 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/1.018, allocations: 0.9752 MB / 1.179 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.018, allocations: 5.312 kB / 1.179 GB, free: 6.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/1.018, allocations: 31.59 kB / 1.179 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/1.018, allocations: 19.34 kB / 1.179 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/1.021, allocations: 0.7966 MB / 1.18 GB, free: 5.59 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.008096/1.029, allocations: 5.153 MB / 1.185 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.03, allocations: 0.544 MB / 1.186 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/1.031, allocations: 271.3 kB / 1.186 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/1.033, allocations: 1.37 MB / 1.187 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.033, allocations: 37.81 kB / 1.187 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/1.033, allocations: 0 / 1.187 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43): time 0.007198/1.04, allocations: 1.61 MB / 1.189 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.04, allocations: 55.88 kB / 1.189 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/1.042, allocations: 1.078 MB / 1.19 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.042, allocations: 38.64 kB / 1.19 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000544/1.043, allocations: 0.5334 MB / 1.191 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/1.043, allocations: 147.8 kB / 1.191 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/1.043, allocations: 139.5 kB / 1.191 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.044, allocations: 335.4 kB / 1.191 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/1.044, allocations: 275.3 kB / 1.191 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.046, allocations: 0.5032 MB / 1.192 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.047, allocations: 0.6468 MB / 1.193 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.047, allocations: 1.406 kB / 1.193 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003049/1.05, allocations: 0.9563 MB / 1.194 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.05, allocations: 7.562 kB / 1.194 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.05, allocations: 5 kB / 1.194 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.052, allocations: 307.5 kB / 1.194 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/1.052, allocations: 128.5 kB / 1.194 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/1.054, allocations: 0.897 MB / 1.195 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.055, allocations: 143.8 kB / 1.195 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.055, allocations: 31.11 kB / 1.195 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001192/1.057, allocations: 490.1 kB / 1.195 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/1.058, allocations: 0.4962 MB / 1.196 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001485/1.059, allocations: 0.6449 MB / 1.197 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.869e-06/1.059, allocations: 5.25 kB / 1.197 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002898/1.062, allocations: 0.9422 MB / 1.198 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.062, allocations: 6.812 kB / 1.198 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.062, allocations: 5.594 kB / 1.198 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/1.063, allocations: 304.3 kB / 1.198 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/1.064, allocations: 124.5 kB / 1.198 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/1.065, allocations: 0.8832 MB / 1.199 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.067, allocations: 133.1 kB / 1.199 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/1.067, allocations: 30.48 kB / 1.199 GB, free: 7.246 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002994/1.067, allocations: 217.9 kB / 1.199 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/1.068, allocations: 116.3 kB / 1.199 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/1.071, allocations: 1.001 MB / 1.2 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/1.071, allocations: 5.391 kB / 1.2 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/1.071, allocations: 0 / 1.2 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/1.072, allocations: 251.8 kB / 1.2 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.072, allocations: 18.61 kB / 1.201 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.073, allocations: 59.66 kB / 1.201 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.073, allocations: 30.02 kB / 1.201 GB, free: 6.133 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.002778/1.076, allocations: 0.7286 MB / 1.201 GB, free: 5.738 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity could not be translated