Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_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_latest_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_latest_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.001437/0.001437, allocations: 107.5 kB / 16.41 MB, free: 6.469 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.001475/0.001475, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 472.7 MB / 0.746 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 63.89 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9698, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06916/1.039, allocations: 61.24 MB / 1.286 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02028/1.059, allocations: 12 MB / 1.298 GB, free: 3.996 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/1.062, allocations: 63.62 kB / 1.298 GB, free: 3.934 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/1.065, allocations: 0.687 MB / 1.299 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007202/1.072, allocations: 2.079 MB / 1.301 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/1.076, allocations: 1.205 MB / 1.302 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004505/1.08, allocations: 3.079 MB / 1.305 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/1.082, allocations: 1.104 MB / 1.306 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/1.086, allocations: 1.354 MB / 1.307 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/1.088, allocations: 0.8983 MB / 1.308 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004428/1.089, allocations: 116 kB / 1.308 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/1.093, allocations: 1.466 MB / 1.31 GB, free: 7.895 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000597/1.093, allocations: 286.9 kB / 1.31 GB, free: 7.613 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/1.095, allocations: 0.6958 MB / 1.311 GB, free: 6.914 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005885/1.101, allocations: 2.313 MB / 1.313 GB, free: 4.602 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.101, allocations: 0 / 1.313 GB, free: 4.602 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.086e-06/1.101, allocations: 0 / 1.313 GB, free: 4.602 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001158/1.101, allocations: 0 / 1.313 GB, free: 4.602 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006122/1.107, allocations: 1.783 MB / 1.315 GB, free: 2.758 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.107, allocations: 12.03 kB / 1.315 GB, free: 2.746 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/1.109, allocations: 347.8 kB / 1.315 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/1.113, allocations: 1.168 MB / 1.316 GB, free: 1.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/1.113, allocations: 61.98 kB / 1.316 GB, free: 1.121 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/1.113, allocations: 80 kB / 1.316 GB, free: 1.043 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/1.115, allocations: 0.9742 MB / 1.317 GB, free: 8 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.115, allocations: 7.938 kB / 1.317 GB, free: 0 / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/1.115, allocations: 32.05 kB / 1.317 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/1.115, allocations: 20 kB / 1.317 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/1.118, allocations: 0.7923 MB / 1.318 GB, free: 15.16 MB / 1.045 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.008231/1.126, allocations: 5.153 MB / 1.323 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.128, allocations: 0.5584 MB / 1.324 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/1.128, allocations: 276.5 kB / 1.324 GB, free: 8.789 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/1.13, allocations: 1.369 MB / 1.325 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.13, allocations: 38.56 kB / 1.325 GB, free: 7.078 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/1.13, allocations: 0 / 1.325 GB, free: 7.078 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.006596/1.136, allocations: 1.611 MB / 1.327 GB, free: 5.438 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.136, allocations: 59.41 kB / 1.327 GB, free: 5.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.138, allocations: 1.076 MB / 1.328 GB, free: 4.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/1.139, allocations: 37.7 kB / 1.328 GB, free: 4.234 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/1.139, allocations: 0.5359 MB / 1.328 GB, free: 3.695 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/1.139, allocations: 162.6 kB / 1.329 GB, free: 3.535 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/1.14, allocations: 134.3 kB / 1.329 GB, free: 3.395 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.14, allocations: 333.9 kB / 1.329 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007576/1.14, allocations: 275.3 kB / 1.329 GB, free: 2.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009571/1.141, allocations: 0.497 MB / 1.33 GB, free: 2.199 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.143, allocations: 0.6559 MB / 1.33 GB, free: 1.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.143, allocations: 0 / 1.33 GB, free: 1.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002587/1.145, allocations: 0.9583 MB / 1.331 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.146, allocations: 8 kB / 1.331 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/1.146, allocations: 7.984 kB / 1.331 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.147, allocations: 304.7 kB / 1.332 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/1.147, allocations: 115.8 kB / 1.332 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/1.149, allocations: 0.9022 MB / 1.333 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.15, allocations: 143.4 kB / 1.333 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/1.15, allocations: 31.98 kB / 1.333 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001093/1.151, allocations: 485.2 kB / 1.333 GB, free: 14.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000999/1.152, allocations: 0.497 MB / 1.334 GB, free: 13.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/1.154, allocations: 0.6469 MB / 1.334 GB, free: 13.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.654e-06/1.154, allocations: 11.94 kB / 1.334 GB, free: 13.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002524/1.156, allocations: 0.9543 MB / 1.335 GB, free: 12.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.156, allocations: 13.55 kB / 1.335 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.156, allocations: 4 kB / 1.335 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.157, allocations: 292.7 kB / 1.336 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/1.158, allocations: 123.8 kB / 1.336 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.159, allocations: 0.8996 MB / 1.337 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.161, allocations: 123.7 kB / 1.337 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/1.161, allocations: 31.97 kB / 1.337 GB, free: 10.71 MB / 1.061 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.0002715/1.161, allocations: 224 kB / 1.337 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/1.161, allocations: 119.2 kB / 1.337 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/1.164, allocations: 1.004 MB / 1.338 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.164, allocations: 3.984 kB / 1.338 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.164, allocations: 0 / 1.338 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/1.165, allocations: 264.1 kB / 1.338 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/1.165, allocations: 8 kB / 1.338 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/1.166, allocations: 59.94 kB / 1.338 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/1.166, allocations: 32.33 kB / 1.338 GB, free: 8.973 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.002449/1.168, allocations: 0.7303 MB / 1.339 GB, free: 8.242 MB / 1.061 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