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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.002246/0.002246, allocations: 110.8 kB / 16.42 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.002563/0.002563, allocations: 187.9 kB / 17.34 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.453/1.453, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 461.7 MB / 0.7352 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 68.11 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9874/0.9889, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.07003/1.059, allocations: 61.22 MB / 1.268 GB, free: 200 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01787/1.077, allocations: 12.01 MB / 1.28 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/1.08, allocations: 59.62 kB / 1.28 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/1.082, allocations: 0.6752 MB / 1.28 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005954/1.088, allocations: 1.963 MB / 1.282 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/1.091, allocations: 1.21 MB / 1.284 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004642/1.096, allocations: 3.082 MB / 1.287 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/1.098, allocations: 1.096 MB / 1.288 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/1.101, allocations: 1.335 MB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/1.103, allocations: 0.8945 MB / 1.29 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004445/1.104, allocations: 116 kB / 1.29 GB, free: 9.684 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/1.107, allocations: 1.462 MB / 1.291 GB, free: 8.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005738/1.108, allocations: 302.8 kB / 1.292 GB, free: 7.922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/1.11, allocations: 0.6881 MB / 1.292 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004462/1.114, allocations: 2.304 MB / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.114, allocations: 0 / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.492e-06/1.114, allocations: 4 kB / 1.295 GB, free: 4.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.91e-05/1.114, allocations: 0 / 1.295 GB, free: 4.918 MB / 1.014 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.003342/1.118, allocations: 1.726 MB / 1.296 GB, free: 3.129 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.118, allocations: 8.031 kB / 1.296 GB, free: 3.121 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/1.119, allocations: 343 kB / 1.297 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/1.122, allocations: 1.163 MB / 1.298 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/1.122, allocations: 65.94 kB / 1.298 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.122, allocations: 80 kB / 1.298 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/1.124, allocations: 0.9703 MB / 1.299 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.124, allocations: 3.938 kB / 1.299 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/1.124, allocations: 36 kB / 1.299 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/1.124, allocations: 20 kB / 1.299 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/1.126, allocations: 0.8001 MB / 1.3 GB, free: 15.53 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.006798/1.133, allocations: 5.137 MB / 1.305 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/1.135, allocations: 0.5558 MB / 1.305 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/1.135, allocations: 260.7 kB / 1.305 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/1.137, allocations: 1.373 MB / 1.307 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.137, allocations: 38.56 kB / 1.307 GB, free: 7.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/1.137, allocations: 0 / 1.307 GB, free: 7.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.006559/1.143, allocations: 1.606 MB / 1.308 GB, free: 5.852 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.143, allocations: 55.41 kB / 1.308 GB, free: 5.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.145, allocations: 1.08 MB / 1.31 GB, free: 4.691 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/1.145, allocations: 37.7 kB / 1.31 GB, free: 4.648 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/1.146, allocations: 0.5388 MB / 1.31 GB, free: 4.105 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.146, allocations: 149.8 kB / 1.31 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/1.146, allocations: 134.2 kB / 1.31 GB, free: 3.816 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.146, allocations: 337.9 kB / 1.311 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/1.147, allocations: 275.3 kB / 1.311 GB, free: 3.211 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.148, allocations: 0.4969 MB / 1.311 GB, free: 2.617 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/1.149, allocations: 0.6483 MB / 1.312 GB, free: 1.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.15, allocations: 4 kB / 1.312 GB, free: 1.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002459/1.152, allocations: 0.9653 MB / 1.313 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.152, allocations: 8 kB / 1.313 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.152, allocations: 8 kB / 1.313 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/1.153, allocations: 299 kB / 1.313 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/1.154, allocations: 119.8 kB / 1.313 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.155, allocations: 0.8996 MB / 1.314 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.157, allocations: 143.2 kB / 1.314 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/1.157, allocations: 31.94 kB / 1.314 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00115/1.158, allocations: 493.2 kB / 1.315 GB, free: 14.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/1.159, allocations: 0.4892 MB / 1.315 GB, free: 14.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001559/1.16, allocations: 0.6548 MB / 1.316 GB, free: 13.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/1.16, allocations: 0 / 1.316 GB, free: 13.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002624/1.163, allocations: 0.9499 MB / 1.317 GB, free: 12.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.163, allocations: 8 kB / 1.317 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.163, allocations: 12.03 kB / 1.317 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.164, allocations: 292.6 kB / 1.317 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/1.165, allocations: 119.8 kB / 1.317 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/1.166, allocations: 0.894 MB / 1.318 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.167, allocations: 123.6 kB / 1.318 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/1.168, allocations: 31.98 kB / 1.318 GB, free: 11.15 MB / 1.045 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.0002781/1.168, allocations: 216.6 kB / 1.319 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/1.168, allocations: 110.6 kB / 1.319 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/1.171, allocations: 1 MB / 1.32 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/1.171, allocations: 3.984 kB / 1.32 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.171, allocations: 0 / 1.32 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/1.172, allocations: 259.5 kB / 1.32 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.172, allocations: 4 kB / 1.32 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/1.173, allocations: 63.92 kB / 1.32 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/1.173, allocations: 32.34 kB / 1.32 GB, free: 9.426 MB / 1.045 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.002818/1.176, allocations: 0.7322 MB / 1.321 GB, free: 8.691 MB / 1.045 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