Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009108/0.009113, allocations: 111 kB / 15.06 MB, free: 5.562 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.001187/0.001188, allocations: 178.9 kB / 15.95 MB, free: 5.523 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 1.893/1.893, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.287/2.287, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5487, allocations: 98.72 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07546/0.6242, allocations: 50.77 MB / 0.7329 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.6447, allocations: 10.18 MB / 0.7429 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.6471, allocations: 51.62 kB / 0.7429 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.6499, allocations: 0.6296 MB / 0.7435 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.6577, allocations: 1.893 MB / 0.7454 GB, free: 14.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.6626, allocations: 1.159 MB / 0.7465 GB, free: 13.59 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004549/0.6671, allocations: 1.894 MB / 0.7484 GB, free: 11.69 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.6691, allocations: 0.8057 MB / 0.7491 GB, free: 10.86 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.673, allocations: 1 MB / 0.7501 GB, free: 9.855 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.6745, allocations: 0.6105 MB / 0.7507 GB, free: 9.242 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.6748, allocations: 44 kB / 0.7508 GB, free: 9.199 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.678, allocations: 0.9711 MB / 0.7517 GB, free: 8.227 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.6785, allocations: 187.2 kB / 0.7519 GB, free: 8.043 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.6791, allocations: 289 kB / 0.7522 GB, free: 7.754 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.6824, allocations: 1.579 MB / 0.7537 GB, free: 6.172 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.168e-06/0.6825, allocations: 0 / 0.7537 GB, free: 6.172 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6825, allocations: 0 / 0.7537 GB, free: 6.172 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.691e-05/0.6825, allocations: 0 / 0.7537 GB, free: 6.172 MB / 0.573 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.003687/0.6862, allocations: 1.485 MB / 0.7552 GB, free: 4.629 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6863, allocations: 11.98 kB / 0.7552 GB, free: 4.617 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.6892, allocations: 473.9 kB / 0.7556 GB, free: 4.152 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.6923, allocations: 1.066 MB / 0.7567 GB, free: 3.027 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/0.6927, allocations: 129.9 kB / 0.7568 GB, free: 2.902 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.693, allocations: 80 kB / 0.7569 GB, free: 2.824 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.6962, allocations: 0.9917 MB / 0.7578 GB, free: 1.793 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.6962, allocations: 3.938 kB / 0.7578 GB, free: 1.789 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.6964, allocations: 35.98 kB / 0.7579 GB, free: 1.754 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.6964, allocations: 20 kB / 0.7579 GB, free: 1.734 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.6998, allocations: 0.9212 MB / 0.7588 GB, free: 0.8164 MB / 0.573 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.009429/0.7093, allocations: 4.644 MB / 0.7633 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.7142, allocations: 0.9362 MB / 0.7642 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009305/0.7151, allocations: 0.9072 MB / 0.7651 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.7152, allocations: 42.56 kB / 0.7652 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=43): time 4.403e-06/0.7152, allocations: 3.938 kB / 0.7652 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43): time 0.01022/0.7255, allocations: 2.006 MB / 0.7671 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.7256, allocations: 59.34 kB / 0.7672 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.7281, allocations: 1.083 MB / 0.7682 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.7282, allocations: 37.69 kB / 0.7683 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/0.7289, allocations: 0.539 MB / 0.7688 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.7291, allocations: 145.8 kB / 0.7689 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.7292, allocations: 12 kB / 0.769 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7293, allocations: 326 kB / 0.7693 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.7306, allocations: 332.9 kB / 0.7696 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.7321, allocations: 0.5282 MB / 0.7701 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.7334, allocations: 360.6 kB / 0.7704 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.812e-06/0.7334, allocations: 4 kB / 0.7704 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004985/0.7384, allocations: 1.229 MB / 0.7716 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008212/0.7393, allocations: 1.5 MB / 0.7731 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7393, allocations: 0 / 0.7731 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.7411, allocations: 338.5 kB / 0.7734 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/0.7419, allocations: 139.8 kB / 0.7736 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.744, allocations: 0.9348 MB / 0.7745 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.7458, allocations: 199.2 kB / 0.7747 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.746, allocations: 35.98 kB / 0.7747 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.746, allocations: 4 kB / 0.7747 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004497/0.7505, allocations: 1.088 MB / 0.7758 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.7506, allocations: 4 kB / 0.7758 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.7521, allocations: 326.5 kB / 0.7761 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.7529, allocations: 135.8 kB / 0.7762 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.7549, allocations: 0.9464 MB / 0.7771 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.7566, allocations: 167.3 kB / 0.7773 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7567, allocations: 27.98 kB / 0.7773 GB, free: 12.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.000752/0.7575, allocations: 356.9 kB / 0.7777 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.7578, allocations: 118.6 kB / 0.7778 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005083/0.7629, allocations: 1.227 MB / 0.779 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.7629, allocations: 15.94 kB / 0.779 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.694e-06/0.763, allocations: 0 / 0.779 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.763, allocations: 3.984 kB / 0.779 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/0.77, allocations: 2.205 MB / 0.7811 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.77, allocations: 8.031 kB / 0.7812 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.7705, allocations: 67.88 kB / 0.7812 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.7719, allocations: 313.9 kB / 0.7815 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.7721, allocations: 23.94 kB / 0.7815 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.7741, allocations: 0.9581 MB / 0.7825 GB, free: 7.551 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.7741, allocations: 7.969 kB / 0.7825 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/0.7789, allocations: 1.297 MB / 0.7838 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.7797, allocations: 287.4 kB / 0.784 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.7799, allocations: 12 kB / 0.784 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.7811, allocations: 103.9 kB / 0.7841 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7812, allocations: 35.95 kB / 0.7842 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.7813, allocations: 23.97 kB / 0.7842 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001686/0.783, allocations: 0.7629 MB / 0.7849 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.57e-07/0.7831, allocations: 0 / 0.7849 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002069/0.7851, allocations: 0.5613 MB / 0.7855 GB, free: 4.383 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009427/0.7861, allocations: 376.7 kB / 0.7858 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004342/0.7905, allocations: 1.194 MB / 0.787 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.897e-06/0.7905, allocations: 0 / 0.787 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.7918, allocations: 371.5 kB / 0.7874 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.7948, allocations: 0.5083 MB / 0.7879 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.802, allocations: 2.467 MB / 0.7903 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/0.803, allocations: 1.089 MB / 0.7913 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001465/0.8045, allocations: 220.9 kB / 0.7915 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.8048, allocations: 79.36 kB / 0.7916 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.715e-06/0.8048, allocations: 0 / 0.7916 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.058/0.8628, allocations: 23.79 MB / 0.8149 GB, free: 6.551 MB / 0.6355 GB