Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006237/0.006243, allocations: 240.5 kB / 15.81 MB, free: 6.277 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.001989/0.001989, allocations: 184.7 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.165/4.165, 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.139/4.139, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004983, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 98.73 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0766/0.274, allocations: 55.95 MB / 1.159 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5948/0.8688, allocations: 10.92 MB / 1.17 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.8722, allocations: 52.38 kB / 1.17 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004241/0.8765, allocations: 0.576 MB / 1.171 GB, free: 47.97 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.01329/0.8898, allocations: 1.97 MB / 1.172 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008528/0.8984, allocations: 1.156 MB / 1.174 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0099/0.9083, allocations: 3.502 MB / 1.177 GB, free: 47.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.9118, allocations: 0.8134 MB / 1.178 GB, free: 47.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.9165, allocations: 1.015 MB / 1.179 GB, free: 47.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.9198, allocations: 0.8301 MB / 1.18 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005577/0.9204, allocations: 43.31 kB / 1.18 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005545/0.9259, allocations: 0.9106 MB / 1.181 GB, free: 46.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007903/0.9268, allocations: 194.2 kB / 1.181 GB, free: 46.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.928, allocations: 280.6 kB / 1.181 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.9334, allocations: 1.594 MB / 1.183 GB, free: 46.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.9335, allocations: 0.875 kB / 1.183 GB, free: 46.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9335, allocations: 0 / 1.183 GB, free: 46.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.647e-05/0.9336, allocations: 3.375 kB / 1.183 GB, free: 46.59 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.006841/0.9405, allocations: 1.492 MB / 1.184 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/0.9406, allocations: 9.062 kB / 1.184 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006608/0.9472, allocations: 0.5129 MB / 1.184 GB, free: 45.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.9525, allocations: 1.115 MB / 1.186 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009689/0.9535, allocations: 132.2 kB / 1.186 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/0.954, allocations: 79.72 kB / 1.186 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005726/0.9598, allocations: 1.024 MB / 1.187 GB, free: 45.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.9599, allocations: 1.375 kB / 1.187 GB, free: 45.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.9601, allocations: 35.86 kB / 1.187 GB, free: 45.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.9602, allocations: 20.81 kB / 1.187 GB, free: 45.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0073/0.9675, allocations: 1.002 MB / 1.188 GB, free: 45.14 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.01516/0.9827, allocations: 4.687 MB / 1.192 GB, free: 42.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009883/0.9927, allocations: 1.118 MB / 1.193 GB, free: 42.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.9953, allocations: 416.6 kB / 1.194 GB, free: 42.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/0.9968, allocations: 1.027 MB / 1.195 GB, free: 41.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.9969, allocations: 44.48 kB / 1.195 GB, free: 41.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 6.292e-06/0.9969, allocations: 3.297 kB / 1.195 GB, free: 41.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.02274/1.02, allocations: 2.439 MB / 1.197 GB, free: 41.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/1.02, allocations: 58 kB / 1.197 GB, free: 41.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/1.022, allocations: 0.945 MB / 1.198 GB, free: 41.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/1.022, allocations: 42.06 kB / 1.198 GB, free: 41.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/1.023, allocations: 0.5237 MB / 1.199 GB, free: 40.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.023, allocations: 167 kB / 1.199 GB, free: 40.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/1.023, allocations: 14.25 kB / 1.199 GB, free: 40.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/1.023, allocations: 326.3 kB / 1.199 GB, free: 40.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/1.025, allocations: 369.8 kB / 1.2 GB, free: 40.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/1.027, allocations: 0.5358 MB / 1.2 GB, free: 40.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/1.029, allocations: 393.7 kB / 1.201 GB, free: 40.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/1.029, allocations: 0 / 1.201 GB, free: 40.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005027/1.034, allocations: 1.111 MB / 1.202 GB, free: 40.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.034, allocations: 165.7 kB / 1.202 GB, free: 40.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.034, allocations: 3.281 kB / 1.202 GB, free: 40.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/1.036, allocations: 331.2 kB / 1.202 GB, free: 40.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.037, allocations: 141.8 kB / 1.202 GB, free: 40 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/1.04, allocations: 0.9373 MB / 1.203 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.042, allocations: 175.2 kB / 1.203 GB, free: 39.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.042, allocations: 25.11 kB / 1.203 GB, free: 39.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.042, allocations: 3.906 kB / 1.203 GB, free: 39.45 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004584/1.047, allocations: 0.9885 MB / 1.204 GB, free: 39.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.047, allocations: 0 / 1.204 GB, free: 39.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/1.049, allocations: 325.7 kB / 1.205 GB, free: 39.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.05, allocations: 148.1 kB / 1.205 GB, free: 39.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.052, allocations: 0.928 MB / 1.206 GB, free: 38.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/1.054, allocations: 169.6 kB / 1.206 GB, free: 38.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.055, allocations: 32.09 kB / 1.206 GB, free: 38.45 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.0007463/1.055, allocations: 353 kB / 1.206 GB, free: 38.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/1.056, allocations: 105.6 kB / 1.206 GB, free: 38.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007728/1.063, allocations: 1.402 MB / 1.208 GB, free: 37.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/1.063, allocations: 6.5 kB / 1.208 GB, free: 37.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.063, allocations: 4.766 kB / 1.208 GB, free: 37.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/1.064, allocations: 277.3 kB / 1.208 GB, free: 37.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.065, allocations: 11.97 kB / 1.208 GB, free: 37.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.066, allocations: 125.5 kB / 1.208 GB, free: 37.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.066, allocations: 33.48 kB / 1.208 GB, free: 37.49 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.006162/1.073, allocations: 0.9876 MB / 1.209 GB, free: 37.25 MB / 0.6198 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.