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.009166/0.009171, allocations: 109.1 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.001183/0.001182, allocations: 176.5 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.956/1.956, 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.34/2.34, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005026, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5367, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08825/0.6251, allocations: 50.8 MB / 0.7329 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.645, allocations: 10.18 MB / 0.7429 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.6473, allocations: 51.62 kB / 0.7429 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.6499, allocations: 0.6296 MB / 0.7436 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007456/0.6574, allocations: 1.901 MB / 0.7454 GB, free: 14.7 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.6624, allocations: 1.159 MB / 0.7465 GB, free: 13.54 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.6668, allocations: 1.906 MB / 0.7484 GB, free: 11.62 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.6685, allocations: 0.8238 MB / 0.7492 GB, free: 10.78 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.6711, allocations: 0.9926 MB / 0.7502 GB, free: 9.781 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.6724, allocations: 0.6222 MB / 0.7508 GB, free: 9.156 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.6726, allocations: 44 kB / 0.7508 GB, free: 9.113 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.6755, allocations: 0.9751 MB / 0.7518 GB, free: 8.137 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.6758, allocations: 191.1 kB / 0.752 GB, free: 7.949 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.6763, allocations: 285 kB / 0.7522 GB, free: 7.664 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.6791, allocations: 1.582 MB / 0.7538 GB, free: 6.078 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6792, allocations: 0 / 0.7538 GB, free: 6.078 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.609e-06/0.6792, allocations: 0 / 0.7538 GB, free: 6.078 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.6792, allocations: 7.938 kB / 0.7538 GB, free: 6.07 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00353/0.6827, allocations: 1.49 MB / 0.7552 GB, free: 4.523 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6828, allocations: 8.031 kB / 0.7552 GB, free: 4.516 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.6859, allocations: 0.5135 MB / 0.7557 GB, free: 4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.6889, allocations: 1.074 MB / 0.7568 GB, free: 2.867 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/0.6894, allocations: 129.9 kB / 0.7569 GB, free: 2.742 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.6897, allocations: 80 kB / 0.757 GB, free: 2.664 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/0.6929, allocations: 1.021 MB / 0.758 GB, free: 1.609 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.6929, allocations: 0 / 0.758 GB, free: 1.609 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6931, allocations: 32 kB / 0.758 GB, free: 1.578 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.6931, allocations: 20 kB / 0.758 GB, free: 1.559 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.6969, allocations: 1.007 MB / 0.759 GB, free: 0.5547 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.009119/0.706, allocations: 4.714 MB / 0.7636 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.7114, allocations: 1.125 MB / 0.7647 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.7128, allocations: 1.026 MB / 0.7657 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.7129, allocations: 42.98 kB / 0.7658 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 3.748e-06/0.7129, allocations: 0 / 0.7658 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.0122/0.7251, allocations: 2.44 MB / 0.7682 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.7252, allocations: 59.84 kB / 0.7682 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.7271, allocations: 0.9596 MB / 0.7692 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.7273, allocations: 33.7 kB / 0.7692 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.7279, allocations: 0.5273 MB / 0.7697 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.7281, allocations: 169.6 kB / 0.7699 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.7282, allocations: 8 kB / 0.7699 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7284, allocations: 330 kB / 0.7702 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7299, allocations: 364.9 kB / 0.7705 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.7316, allocations: 0.5433 MB / 0.7711 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.7331, allocations: 393.9 kB / 0.7714 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-06/0.7332, allocations: 4 kB / 0.7714 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004191/0.7374, allocations: 1.108 MB / 0.7725 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000551/0.738, allocations: 0.9715 MB / 0.7735 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.738, allocations: 7.922 kB / 0.7735 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.7397, allocations: 328.5 kB / 0.7738 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/0.7406, allocations: 139.8 kB / 0.7739 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.7427, allocations: 0.9328 MB / 0.7748 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.7443, allocations: 179.3 kB / 0.775 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.7444, allocations: 31.97 kB / 0.775 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7445, allocations: 4 kB / 0.775 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003684/0.7482, allocations: 0.986 MB / 0.776 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7482, allocations: 0 / 0.776 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.7497, allocations: 320.6 kB / 0.7763 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.7506, allocations: 139.8 kB / 0.7764 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.7526, allocations: 0.9425 MB / 0.7774 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7541, allocations: 159.5 kB / 0.7775 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7543, allocations: 31.95 kB / 0.7775 GB, free: 12.73 MB / 0.6042 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.0007954/0.7551, allocations: 356.9 kB / 0.7779 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.7554, allocations: 110.6 kB / 0.778 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/0.7613, allocations: 1.397 MB / 0.7794 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.7613, allocations: 8 kB / 0.7794 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.707e-06/0.7613, allocations: 0 / 0.7794 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.7614, allocations: 3.984 kB / 0.7794 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007834/0.7692, allocations: 2.433 MB / 0.7817 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.7693, allocations: 0 / 0.7817 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.77, allocations: 111.9 kB / 0.7818 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.7714, allocations: 320.5 kB / 0.7822 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.7715, allocations: 12 kB / 0.7822 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.7738, allocations: 0.9807 MB / 0.7831 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.923e-06/0.7738, allocations: 0 / 0.7831 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.7794, allocations: 1.432 MB / 0.7845 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/0.7802, allocations: 287.5 kB / 0.7848 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.7804, allocations: 19.92 kB / 0.7848 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7816, allocations: 123.8 kB / 0.7849 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.7818, allocations: 36.38 kB / 0.785 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.7819, allocations: 15.98 kB / 0.785 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001321/0.7832, allocations: 0.6797 MB / 0.7856 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.51e-07/0.7832, allocations: 0 / 0.7856 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001926/0.7852, allocations: 0.5612 MB / 0.7862 GB, free: 3.688 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009536/0.7861, allocations: 378.1 kB / 0.7866 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005117/0.7913, allocations: 1.357 MB / 0.7879 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6e-06/0.7913, allocations: 0 / 0.7879 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.7931, allocations: 464.7 kB / 0.7883 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/0.7962, allocations: 0.5083 MB / 0.7888 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.8017, allocations: 2.282 MB / 0.791 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/0.8027, allocations: 1.089 MB / 0.7921 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001598/0.8043, allocations: 216.7 kB / 0.7923 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.8047, allocations: 79.41 kB / 0.7924 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.105e-06/0.8047, allocations: 0 / 0.7924 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.05804/0.8628, allocations: 23.35 MB / 0.8152 GB, free: 6.234 MB / 0.6355 GB