Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001388/0.001388, allocations: 190.7 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.406/1.406, 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 11.0.1-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.89 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9542/0.9557, allocations: 159.1 MB / 1.221 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06665/1.022, allocations: 61.23 MB / 1.281 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01864/1.041, allocations: 11.99 MB / 1.292 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/1.044, allocations: 59.62 kB / 1.292 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/1.046, allocations: 0.7026 MB / 1.293 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/1.053, allocations: 2.07 MB / 1.295 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/1.057, allocations: 1.209 MB / 1.296 GB, free: 4.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004791/1.062, allocations: 3.099 MB / 1.299 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/1.063, allocations: 1.099 MB / 1.3 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/1.067, allocations: 1.362 MB / 1.302 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/1.07, allocations: 0.8984 MB / 1.303 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005423/1.07, allocations: 112 kB / 1.303 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004527/1.075, allocations: 1.482 MB / 1.304 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008808/1.076, allocations: 294.8 kB / 1.305 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/1.078, allocations: 0.6919 MB / 1.305 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/1.084, allocations: 2.324 MB / 1.307 GB, free: 9.477 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.084, allocations: 0 / 1.307 GB, free: 9.477 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/1.084, allocations: 0 / 1.307 GB, free: 9.477 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.367e-05/1.084, allocations: 0 / 1.307 GB, free: 9.477 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.004596/1.089, allocations: 1.73 MB / 1.309 GB, free: 7.688 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.089, allocations: 12.62 kB / 1.309 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/1.091, allocations: 343 kB / 1.309 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/1.094, allocations: 1.164 MB / 1.311 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/1.094, allocations: 62 kB / 1.311 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/1.094, allocations: 80 kB / 1.311 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/1.096, allocations: 0.9857 MB / 1.312 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.096, allocations: 0 / 1.312 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/1.096, allocations: 32 kB / 1.312 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/1.096, allocations: 20 kB / 1.312 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/1.098, allocations: 0.8001 MB / 1.313 GB, free: 4.086 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.006864/1.105, allocations: 5.144 MB / 1.318 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.106, allocations: 0.5607 MB / 1.318 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/1.107, allocations: 272.7 kB / 1.318 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.108, allocations: 1.365 MB / 1.32 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.109, allocations: 38.5 kB / 1.32 GB, free: 12.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/1.109, allocations: 4 kB / 1.32 GB, free: 12.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.005739/1.114, allocations: 1.489 MB / 1.321 GB, free: 10.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/1.114, allocations: 55.41 kB / 1.321 GB, free: 10.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/1.116, allocations: 1.072 MB / 1.322 GB, free: 9.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/1.116, allocations: 37.7 kB / 1.322 GB, free: 9.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/1.117, allocations: 0.5389 MB / 1.323 GB, free: 8.754 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/1.117, allocations: 149.8 kB / 1.323 GB, free: 8.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/1.117, allocations: 138.1 kB / 1.323 GB, free: 8.461 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.117, allocations: 333.9 kB / 1.323 GB, free: 8.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/1.118, allocations: 279.2 kB / 1.324 GB, free: 7.855 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/1.119, allocations: 0.4922 MB / 1.324 GB, free: 7.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/1.121, allocations: 0.6512 MB / 1.325 GB, free: 6.555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.121, allocations: 4 kB / 1.325 GB, free: 6.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002599/1.123, allocations: 0.9538 MB / 1.326 GB, free: 5.586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.123, allocations: 8 kB / 1.326 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.123, allocations: 4 kB / 1.326 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.125, allocations: 308.7 kB / 1.326 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/1.125, allocations: 119.8 kB / 1.326 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/1.127, allocations: 0.9025 MB / 1.327 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.128, allocations: 147.2 kB / 1.327 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/1.128, allocations: 32 kB / 1.327 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0012/1.129, allocations: 493.2 kB / 1.328 GB, free: 3.566 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000929/1.13, allocations: 0.4883 MB / 1.328 GB, free: 2.988 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001435/1.132, allocations: 0.6538 MB / 1.329 GB, free: 2.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/1.132, allocations: 0 / 1.329 GB, free: 2.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002561/1.134, allocations: 0.9421 MB / 1.33 GB, free: 1.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.134, allocations: 9.875 kB / 1.33 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.134, allocations: 12.02 kB / 1.33 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/1.136, allocations: 296.5 kB / 1.33 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/1.136, allocations: 123.8 kB / 1.33 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.138, allocations: 0.9034 MB / 1.331 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.139, allocations: 123.5 kB / 1.331 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/1.139, allocations: 27.98 kB / 1.331 GB, free: 15.8 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0003159/1.139, allocations: 228 kB / 1.331 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.139, allocations: 106.7 kB / 1.332 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/1.142, allocations: 0.8855 MB / 1.332 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.142, allocations: 3.938 kB / 1.332 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.142, allocations: 0 / 1.332 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/1.142, allocations: 263.5 kB / 1.333 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/1.142, allocations: 8 kB / 1.333 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/1.143, allocations: 63.92 kB / 1.333 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.143, allocations: 32.33 kB / 1.333 GB, free: 14.19 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.002741/1.146, allocations: 0.7342 MB / 1.333 GB, free: 13.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_etaPL could not be translated