Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001487/0.001487, allocations: 110.2 kB / 16.42 MB, free: 6.488 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.001616/0.001616, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.442/1.442, 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 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 68.06 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9692/0.9707, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06866/1.04, allocations: 61.23 MB / 1.227 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01801/1.058, allocations: 11.99 MB / 1.239 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/1.06, allocations: 59.62 kB / 1.239 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/1.062, allocations: 0.687 MB / 1.24 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/1.068, allocations: 2.074 MB / 1.242 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/1.071, allocations: 1.211 MB / 1.243 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00447/1.076, allocations: 3.087 MB / 1.246 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/1.078, allocations: 1.092 MB / 1.247 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/1.082, allocations: 1.379 MB / 1.248 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.084, allocations: 0.8951 MB / 1.249 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003872/1.084, allocations: 112 kB / 1.249 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.088, allocations: 1.458 MB / 1.251 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/1.088, allocations: 298.8 kB / 1.251 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/1.09, allocations: 0.688 MB / 1.252 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004565/1.094, allocations: 2.304 MB / 1.254 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/1.094, allocations: 4 kB / 1.254 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/1.094, allocations: 3.938 kB / 1.254 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.882e-05/1.094, allocations: 0 / 1.254 GB, free: 10.95 MB / 0.9825 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.003868/1.098, allocations: 1.72 MB / 1.255 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.098, allocations: 20.86 kB / 1.256 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/1.1, allocations: 343 kB / 1.256 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/1.103, allocations: 1.156 MB / 1.257 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/1.103, allocations: 62 kB / 1.257 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.103, allocations: 80 kB / 1.257 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.105, allocations: 0.9781 MB / 1.258 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/1.105, allocations: 3.938 kB / 1.258 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/1.105, allocations: 35.94 kB / 1.258 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/1.105, allocations: 20 kB / 1.258 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.107, allocations: 0.7962 MB / 1.259 GB, free: 5.578 MB / 0.9825 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.007047/1.115, allocations: 5.141 MB / 1.264 GB, free: 64 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.116, allocations: 0.563 MB / 1.264 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/1.117, allocations: 260.7 kB / 1.265 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/1.118, allocations: 1.376 MB / 1.266 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.118, allocations: 34.56 kB / 1.266 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.996e-06/1.118, allocations: 0 / 1.266 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.006921/1.125, allocations: 1.61 MB / 1.268 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.125, allocations: 55.41 kB / 1.268 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/1.127, allocations: 1.076 MB / 1.269 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.151e-05/1.128, allocations: 37.7 kB / 1.269 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/1.128, allocations: 0.535 MB / 1.269 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/1.128, allocations: 149.8 kB / 1.269 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/1.129, allocations: 134.2 kB / 1.27 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.129, allocations: 337.9 kB / 1.27 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008413/1.13, allocations: 271.3 kB / 1.27 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009805/1.131, allocations: 0.4984 MB / 1.271 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.132, allocations: 0.6521 MB / 1.271 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.132, allocations: 3.984 kB / 1.271 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002796/1.135, allocations: 0.9654 MB / 1.272 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.135, allocations: 10.34 kB / 1.272 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.135, allocations: 4 kB / 1.272 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/1.136, allocations: 304.7 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/1.137, allocations: 119.8 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/1.139, allocations: 0.9026 MB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.14, allocations: 143.2 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/1.14, allocations: 27.98 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/1.141, allocations: 489.2 kB / 1.274 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009713/1.142, allocations: 0.497 MB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001479/1.144, allocations: 0.6427 MB / 1.275 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/1.144, allocations: 4 kB / 1.275 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002628/1.146, allocations: 0.9502 MB / 1.276 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.146, allocations: 8 kB / 1.276 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.146, allocations: 8.031 kB / 1.276 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.147, allocations: 296.6 kB / 1.277 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/1.148, allocations: 123.8 kB / 1.277 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/1.149, allocations: 0.8918 MB / 1.278 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.151, allocations: 123.6 kB / 1.278 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/1.151, allocations: 28 kB / 1.278 GB, free: 1.195 MB / 0.9981 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.0002516/1.151, allocations: 224.1 kB / 1.278 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/1.151, allocations: 110.6 kB / 1.278 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/1.155, allocations: 1.001 MB / 1.279 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.155, allocations: 0 / 1.279 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.155, allocations: 4 kB / 1.279 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/1.155, allocations: 255.5 kB / 1.279 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/1.156, allocations: 8 kB / 1.279 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/1.156, allocations: 63.92 kB / 1.279 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/1.156, allocations: 32.33 kB / 1.279 GB, free: 15.47 MB / 1.014 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.002638/1.159, allocations: 0.7262 MB / 1.28 GB, free: 14.74 MB / 1.014 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