Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 304.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 180.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 0.6316 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007962/0.0007957, allocations: 96.19 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004464, allocations: 16.22 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05027/0.2631, allocations: 56.55 MB / 1.036 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.2793, allocations: 11.14 MB / 1.047 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.2815, allocations: 51.62 kB / 1.047 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.2834, allocations: 464.8 kB / 1.047 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006271/0.2897, allocations: 1.638 MB / 1.049 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.2934, allocations: 0.8747 MB / 1.05 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005214/0.2986, allocations: 3.426 MB / 1.053 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.3005, allocations: 0.907 MB / 1.054 GB, free: 104 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.3036, allocations: 1.097 MB / 1.055 GB, free: 15 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.3056, allocations: 0.8127 MB / 1.056 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.3059, allocations: 44 kB / 1.056 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.3093, allocations: 1.282 MB / 1.057 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.3097, allocations: 203 kB / 1.057 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.311, allocations: 0.6119 MB / 1.058 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.3137, allocations: 1.711 MB / 1.06 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3137, allocations: 4 kB / 1.06 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3137, allocations: 0 / 1.06 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.228e-05/0.3138, allocations: 4 kB / 1.06 GB, free: 10.31 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003271/0.317, allocations: 1.501 MB / 1.061 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.3171, allocations: 11.97 kB / 1.061 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.3201, allocations: 0.5183 MB / 1.062 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/0.3232, allocations: 1.14 MB / 1.063 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.3235, allocations: 133.9 kB / 1.063 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3237, allocations: 76 kB / 1.063 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3258, allocations: 1.037 MB / 1.064 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3258, allocations: 0 / 1.064 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.3259, allocations: 35.98 kB / 1.064 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.326, allocations: 20 kB / 1.064 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.3285, allocations: 0.9914 MB / 1.065 GB, free: 4.703 MB / 0.6823 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.4572/0.7857, allocations: 4.687 MB / 1.07 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.7906, allocations: 1.124 MB / 1.071 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.7918, allocations: 443.3 kB / 1.071 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.7927, allocations: 1.028 MB / 1.072 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.7927, allocations: 38.39 kB / 1.072 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/0.7927, allocations: 3.906 kB / 1.072 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.008414/0.8011, allocations: 2.15 MB / 1.074 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.8012, allocations: 57.41 kB / 1.074 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.8027, allocations: 0.9369 MB / 1.075 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/0.8028, allocations: 38.39 kB / 1.075 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.8033, allocations: 0.5063 MB / 1.076 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.8034, allocations: 182.6 kB / 1.076 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.8035, allocations: 10.47 kB / 1.076 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.8036, allocations: 326.2 kB / 1.076 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.8048, allocations: 376.4 kB / 1.077 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.806, allocations: 0.5398 MB / 1.077 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.8082, allocations: 0.8135 MB / 1.078 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8083, allocations: 0.7812 kB / 1.078 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004926/0.8132, allocations: 1.29 MB / 1.079 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.8134, allocations: 158.5 kB / 1.079 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.8134, allocations: 2.406 kB / 1.079 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.8151, allocations: 337.6 kB / 1.08 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.8159, allocations: 148.8 kB / 1.08 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.8176, allocations: 0.9345 MB / 1.081 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.8191, allocations: 176.2 kB / 1.081 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.8192, allocations: 27.84 kB / 1.081 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8192, allocations: 5.688 kB / 1.081 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004008/0.8232, allocations: 1.148 MB / 1.082 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8232, allocations: 3.219 kB / 1.082 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.8244, allocations: 325.6 kB / 1.082 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.8251, allocations: 141.7 kB / 1.082 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.8266, allocations: 0.9321 MB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.828, allocations: 173.5 kB / 1.084 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.8281, allocations: 29.7 kB / 1.084 GB, free: 84.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006723/0.8287, allocations: 344.3 kB / 1.084 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.8289, allocations: 111.1 kB / 1.084 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.8323, allocations: 1.226 MB / 1.085 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.8323, allocations: 4.266 kB / 1.085 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8323, allocations: 0 / 1.085 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.8328, allocations: 285.8 kB / 1.085 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.8329, allocations: 14.62 kB / 1.085 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.8338, allocations: 130.5 kB / 1.086 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.8339, allocations: 34.67 kB / 1.086 GB, free: 83.52 MB / 0.6823 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.003541/0.8375, allocations: 1.003 MB / 1.087 GB, free: 83.23 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.