Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001687/0.001687, allocations: 116.6 kB / 16.38 MB, free: 6.023 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.001988/0.001988, allocations: 191.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.899/1.899, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 72.12 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2521, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.4679/0.72, allocations: 61.23 MB / 0.8446 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.737, allocations: 11.89 MB / 0.8562 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.7398, allocations: 56.19 kB / 0.8563 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.7421, allocations: 0.6837 MB / 0.8569 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.7492, allocations: 1.956 MB / 0.8588 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.7539, allocations: 1.216 MB / 0.86 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006706/0.7607, allocations: 3.081 MB / 0.863 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.763, allocations: 1.098 MB / 0.8641 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.7671, allocations: 1.34 MB / 0.8654 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.7694, allocations: 0.908 MB / 0.8663 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.7697, allocations: 116.2 kB / 0.8664 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/0.7737, allocations: 1.468 MB / 0.8678 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/0.7742, allocations: 291 kB / 0.8681 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.7754, allocations: 0.6985 MB / 0.8688 GB, free: 9.898 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.7803, allocations: 2.331 MB / 0.8711 GB, free: 8.672 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7804, allocations: 5.125 kB / 0.8711 GB, free: 8.668 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7804, allocations: 0 / 0.8711 GB, free: 8.668 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.484e-05/0.7804, allocations: 0 / 0.8711 GB, free: 8.668 MB / 0.67 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.003917/0.7843, allocations: 1.746 MB / 0.8728 GB, free: 7.316 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7844, allocations: 8.844 kB / 0.8728 GB, free: 7.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.7862, allocations: 341.6 kB / 0.8731 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.7888, allocations: 1.158 MB / 0.8743 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.7889, allocations: 68.66 kB / 0.8743 GB, free: 6.207 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.789, allocations: 80.22 kB / 0.8744 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.791, allocations: 0.9751 MB / 0.8753 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.791, allocations: 1.406 kB / 0.8753 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.7911, allocations: 32 kB / 0.8754 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.7912, allocations: 18.75 kB / 0.8754 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.7932, allocations: 0.8142 MB / 0.8762 GB, free: 5.109 MB / 0.67 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.007232/0.8005, allocations: 4.866 MB / 0.8809 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.8021, allocations: 0.6019 MB / 0.8815 GB, free: 472 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.8028, allocations: 284.2 kB / 0.8818 GB, free: 332 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.8044, allocations: 1.367 MB / 0.8831 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.8045, allocations: 37.56 kB / 0.8832 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 4.328e-06/0.8045, allocations: 0 / 0.8832 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.006815/0.8113, allocations: 1.666 MB / 0.8848 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.8114, allocations: 57.19 kB / 0.8849 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.8131, allocations: 1.075 MB / 0.8859 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.8132, allocations: 39.08 kB / 0.8859 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.8136, allocations: 0.5331 MB / 0.8865 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.8138, allocations: 166.4 kB / 0.8866 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.814, allocations: 145.2 kB / 0.8868 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8142, allocations: 327.5 kB / 0.8871 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/0.815, allocations: 294.2 kB / 0.8874 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009784/0.816, allocations: 0.4988 MB / 0.8878 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.8175, allocations: 0.6715 MB / 0.8885 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.8175, allocations: 5.344 kB / 0.8885 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00354/0.8211, allocations: 1.128 MB / 0.8896 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8211, allocations: 8 kB / 0.8896 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8211, allocations: 4.875 kB / 0.8896 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.8224, allocations: 300.5 kB / 0.8899 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.8229, allocations: 125.3 kB / 0.89 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.8244, allocations: 0.9014 MB / 0.8909 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.8258, allocations: 145.5 kB / 0.891 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.826, allocations: 30.48 kB / 0.8911 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001365/0.8273, allocations: 0.4933 MB / 0.8916 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.8284, allocations: 0.4963 MB / 0.892 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/0.83, allocations: 0.6633 MB / 0.8927 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.83, allocations: 2.188 kB / 0.8927 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.004126/0.8342, allocations: 1.115 MB / 0.8938 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8342, allocations: 7.5 kB / 0.8938 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8342, allocations: 4.5 kB / 0.8938 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.8353, allocations: 299.9 kB / 0.8941 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.8358, allocations: 124.9 kB / 0.8942 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.8373, allocations: 0.8918 MB / 0.8951 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8387, allocations: 128.2 kB / 0.8952 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.8388, allocations: 36.48 kB / 0.8952 GB, free: 6.902 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002804/0.8391, allocations: 224.6 kB / 0.8954 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.8393, allocations: 117.8 kB / 0.8955 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.8423, allocations: 1.046 MB / 0.8966 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.8424, allocations: 3.984 kB / 0.8966 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8424, allocations: 1.375 kB / 0.8966 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.8429, allocations: 260.7 kB / 0.8968 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.843, allocations: 10.75 kB / 0.8968 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.8437, allocations: 60.94 kB / 0.8969 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.8438, allocations: 30.14 kB / 0.8969 GB, free: 5.766 MB / 0.6856 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.002582/0.8464, allocations: 0.7448 MB / 0.8976 GB, free: 5.363 MB / 0.6856 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