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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0113/0.0113, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001333/0.001333, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 2.086/2.086, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.386/2.386, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005357, allocations: 15.98 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7297, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.09413/0.8239, allocations: 50.8 MB / 0.733 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02407/0.848, allocations: 10.19 MB / 0.743 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.8509, allocations: 47.62 kB / 0.743 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.8547, allocations: 0.6296 MB / 0.7436 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009937/0.8647, allocations: 1.897 MB / 0.7455 GB, free: 14.69 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/0.8707, allocations: 1.156 MB / 0.7466 GB, free: 13.53 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005648/0.8763, allocations: 1.91 MB / 0.7485 GB, free: 11.62 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.8787, allocations: 0.8342 MB / 0.7493 GB, free: 10.76 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.8826, allocations: 0.9848 MB / 0.7503 GB, free: 9.77 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.8846, allocations: 0.6144 MB / 0.7509 GB, free: 9.152 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.8851, allocations: 44 kB / 0.7509 GB, free: 9.109 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.8893, allocations: 0.9829 MB / 0.7519 GB, free: 8.125 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006003/0.89, allocations: 199 kB / 0.7521 GB, free: 7.93 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.8907, allocations: 281 kB / 0.7523 GB, free: 7.648 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.8949, allocations: 1.578 MB / 0.7539 GB, free: 6.066 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.895, allocations: 0 / 0.7539 GB, free: 6.066 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.765e-06/0.895, allocations: 3.938 kB / 0.7539 GB, free: 6.062 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.655e-05/0.8951, allocations: 0 / 0.7539 GB, free: 6.062 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.005012/0.9001, allocations: 1.499 MB / 0.7553 GB, free: 4.508 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.9002, allocations: 8.031 kB / 0.7553 GB, free: 4.5 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004131/0.9006, allocations: 118.8 kB / 0.7555 GB, free: 4.375 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.9053, allocations: 0.5174 MB / 0.756 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003573/0.9089, allocations: 1.07 MB / 0.757 GB, free: 2.727 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006933/0.9097, allocations: 129.9 kB / 0.7571 GB, free: 2.602 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.9099, allocations: 84 kB / 0.7572 GB, free: 2.52 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.914, allocations: 1.017 MB / 0.7582 GB, free: 1.469 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.914, allocations: 4 kB / 0.7582 GB, free: 1.465 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.9142, allocations: 28 kB / 0.7582 GB, free: 1.438 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.9142, allocations: 20 kB / 0.7583 GB, free: 1.418 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005396/0.9196, allocations: 1.003 MB / 0.7592 GB, free: 428 kB / 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.01203/0.9317, allocations: 4.716 MB / 0.7638 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/0.9401, allocations: 1.129 MB / 0.7649 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.9417, allocations: 1.026 MB / 0.7659 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.9418, allocations: 39 kB / 0.766 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 4.067e-06/0.9418, allocations: 0 / 0.766 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.01905/0.9609, allocations: 2.44 MB / 0.7684 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.961, allocations: 55.84 kB / 0.7684 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.9634, allocations: 0.9596 MB / 0.7694 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.9637, allocations: 41.7 kB / 0.7694 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/0.9645, allocations: 0.5273 MB / 0.7699 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.9648, allocations: 165.6 kB / 0.7701 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.9649, allocations: 16 kB / 0.7701 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.9651, allocations: 326 kB / 0.7704 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.9672, allocations: 368.9 kB / 0.7707 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.9696, allocations: 0.5356 MB / 0.7713 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.9718, allocations: 385.9 kB / 0.7716 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.9719, allocations: 0 / 0.7716 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005934/0.9778, allocations: 1.115 MB / 0.7727 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005829/0.9785, allocations: 0.9741 MB / 0.7737 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.9785, allocations: 4 kB / 0.7737 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.9809, allocations: 320.5 kB / 0.774 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.9823, allocations: 147.8 kB / 0.7741 GB, free: 368 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.9852, allocations: 0.9399 MB / 0.775 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.9875, allocations: 167.3 kB / 0.7752 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.9877, allocations: 35.97 kB / 0.7752 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9877, allocations: 4 kB / 0.7752 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005477/0.9932, allocations: 0.9819 MB / 0.7762 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.9933, allocations: 4 kB / 0.7762 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/0.9954, allocations: 326.4 kB / 0.7765 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.9967, allocations: 139.8 kB / 0.7767 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.9995, allocations: 0.9385 MB / 0.7776 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.002, allocations: 167.5 kB / 0.7777 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.002, allocations: 27.98 kB / 0.7778 GB, free: 12.59 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.0009512/1.003, allocations: 352.8 kB / 0.7781 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/1.004, allocations: 106.7 kB / 0.7782 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008802/1.012, allocations: 1.408 MB / 0.7796 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.012, allocations: 7.984 kB / 0.7796 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.012, allocations: 0 / 0.7796 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.013, allocations: 0 / 0.7796 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.024, allocations: 2.429 MB / 0.7819 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.024, allocations: 4.062 kB / 0.782 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.025, allocations: 107.8 kB / 0.7821 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/1.027, allocations: 320.5 kB / 0.7824 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.027, allocations: 23.92 kB / 0.7824 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/1.03, allocations: 0.9633 MB / 0.7833 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.03, allocations: 0 / 0.7833 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008773/1.039, allocations: 1.443 MB / 0.7847 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.04, allocations: 287.4 kB / 0.785 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/1.04, allocations: 12 kB / 0.785 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/1.042, allocations: 123.8 kB / 0.7851 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.043, allocations: 32.39 kB / 0.7852 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.043, allocations: 19.98 kB / 0.7852 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001743/1.045, allocations: 0.6757 MB / 0.7858 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.32e-07/1.045, allocations: 0 / 0.7858 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00272/1.047, allocations: 0.5652 MB / 0.7864 GB, free: 3.551 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.0101/1.058, allocations: 2.381 MB / 0.7887 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007533/1.065, allocations: 1.353 MB / 0.79 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.065, allocations: 4 kB / 0.79 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/1.068, allocations: 468.7 kB / 0.7905 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/1.073, allocations: 0.5058 MB / 0.791 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.083, allocations: 4.445 MB / 0.7953 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.084, allocations: 1.085 MB / 0.7964 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001977/1.086, allocations: 216.7 kB / 0.7966 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.087, allocations: 423.3 kB / 0.797 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of SimCode: time 1.973e-06/1.087, allocations: 0 / 0.797 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.197, allocations: 33.09 MB / 0.8293 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000393/1.197, allocations: 266.3 kB / 0.8296 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.903/5.1, allocations: 0 / 0.8296 GB, free: 7.516 MB / 0.6511 GB