Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.007141/0.007148, allocations: 234.6 kB / 15.8 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001973/0.001974, allocations: 179.2 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.319/4.319, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.267/4.267, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004813, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1801, allocations: 98.71 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07898/0.2591, allocations: 55.95 MB / 1.159 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6886/0.9477, allocations: 10.92 MB / 1.17 GB, free: 48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.9507, allocations: 57.06 kB / 1.17 GB, free: 48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.9542, allocations: 0.5776 MB / 1.171 GB, free: 48 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009882/0.9642, allocations: 1.974 MB / 1.172 GB, free: 48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00633/0.9705, allocations: 1.146 MB / 1.174 GB, free: 48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007937/0.9785, allocations: 3.505 MB / 1.177 GB, free: 47.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.9813, allocations: 0.8165 MB / 1.178 GB, free: 47.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.9851, allocations: 1.015 MB / 1.179 GB, free: 47.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.9876, allocations: 0.8207 MB / 1.18 GB, free: 46.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.9881, allocations: 44.25 kB / 1.18 GB, free: 46.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.9921, allocations: 0.9191 MB / 1.181 GB, free: 46.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006321/0.9928, allocations: 199.6 kB / 1.181 GB, free: 46.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.9937, allocations: 286.4 kB / 1.181 GB, free: 46.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.9976, allocations: 1.593 MB / 1.183 GB, free: 46.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9976, allocations: 0 / 1.183 GB, free: 46.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.677e-06/0.9976, allocations: 1.312 kB / 1.183 GB, free: 46.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.768e-05/0.9977, allocations: 0 / 1.183 GB, free: 46.57 MB / 0.6198 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.004878/1.003, allocations: 1.499 MB / 1.184 GB, free: 45.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.003, allocations: 11.95 kB / 1.184 GB, free: 45.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/1.007, allocations: 0.5137 MB / 1.185 GB, free: 45.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/1.011, allocations: 1.111 MB / 1.186 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007265/1.012, allocations: 132.3 kB / 1.186 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/1.013, allocations: 81.45 kB / 1.186 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/1.017, allocations: 1.024 MB / 1.187 GB, free: 45.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/1.017, allocations: 1.188 kB / 1.187 GB, free: 45.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.017, allocations: 34.78 kB / 1.187 GB, free: 45.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/1.017, allocations: 18.72 kB / 1.187 GB, free: 45.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005005/1.022, allocations: 0.9904 MB / 1.188 GB, free: 45.13 MB / 0.6198 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.01086/1.033, allocations: 4.68 MB / 1.192 GB, free: 42.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/1.041, allocations: 1.117 MB / 1.193 GB, free: 42.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/1.043, allocations: 411 kB / 1.194 GB, free: 42.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.044, allocations: 1.033 MB / 1.195 GB, free: 41.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.044, allocations: 37.5 kB / 1.195 GB, free: 41.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.968e-06/1.044, allocations: 0 / 1.195 GB, free: 41.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.01448/1.059, allocations: 2.099 MB / 1.197 GB, free: 41.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/1.059, allocations: 57.97 kB / 1.197 GB, free: 41.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.061, allocations: 0.9464 MB / 1.198 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/1.061, allocations: 40.08 kB / 1.198 GB, free: 41.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.062, allocations: 0.5247 MB / 1.198 GB, free: 40.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/1.062, allocations: 174.5 kB / 1.199 GB, free: 40.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/1.062, allocations: 11.53 kB / 1.199 GB, free: 40.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.062, allocations: 334.3 kB / 1.199 GB, free: 40.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/1.064, allocations: 359.4 kB / 1.199 GB, free: 40.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.066, allocations: 0.5316 MB / 1.2 GB, free: 40.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/1.068, allocations: 392 kB / 1.2 GB, free: 40.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.068, allocations: 0 / 1.2 GB, free: 40.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005345/1.073, allocations: 1.103 MB / 1.201 GB, free: 40.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.074, allocations: 170.2 kB / 1.201 GB, free: 40.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.074, allocations: 0 / 1.201 GB, free: 40.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/1.076, allocations: 332.3 kB / 1.202 GB, free: 40 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.077, allocations: 143 kB / 1.202 GB, free: 40 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/1.08, allocations: 0.9428 MB / 1.203 GB, free: 39.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.082, allocations: 167.1 kB / 1.203 GB, free: 39.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/1.082, allocations: 27.28 kB / 1.203 GB, free: 39.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.082, allocations: 2.906 kB / 1.203 GB, free: 39.41 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004786/1.087, allocations: 0.9875 MB / 1.204 GB, free: 39.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.087, allocations: 3.594 kB / 1.204 GB, free: 39.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.089, allocations: 325.4 kB / 1.204 GB, free: 39.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.09, allocations: 143.5 kB / 1.204 GB, free: 39.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/1.093, allocations: 0.9252 MB / 1.205 GB, free: 38.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.095, allocations: 167.2 kB / 1.206 GB, free: 38.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/1.095, allocations: 27.3 kB / 1.206 GB, free: 38.38 MB / 0.6198 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 (54): * Single equations (assignments): 53 * 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.000883/1.096, allocations: 355.8 kB / 1.206 GB, free: 38.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/1.096, allocations: 107.9 kB / 1.206 GB, free: 38.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005408/1.102, allocations: 1.19 MB / 1.207 GB, free: 37.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.102, allocations: 3.469 kB / 1.207 GB, free: 37.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.102, allocations: 1.312 kB / 1.207 GB, free: 37.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000957/1.103, allocations: 283.4 kB / 1.207 GB, free: 37.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.103, allocations: 11.16 kB / 1.207 GB, free: 37.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.105, allocations: 127.4 kB / 1.208 GB, free: 37.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.105, allocations: 31.7 kB / 1.208 GB, free: 37.41 MB / 0.6198 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.006454/1.112, allocations: 0.9901 MB / 1.209 GB, free: 37.17 MB / 0.6198 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.