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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.01162/0.01162, allocations: 106.9 kB / 15.06 MB, free: 5.949 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.001287/0.001286, allocations: 185.5 kB / 15.95 MB, free: 5.902 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.004/2.004, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.437/2.437, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005037, allocations: 16 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7002, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.09654/0.7968, allocations: 50.77 MB / 0.733 GB, free: 10.84 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.8208, allocations: 10.2 MB / 0.743 GB, free: 1.199 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.8235, allocations: 47.62 kB / 0.743 GB, free: 1.152 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.8271, allocations: 0.6296 MB / 0.7436 GB, free: 0.5195 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.009571/0.8368, allocations: 1.901 MB / 0.7455 GB, free: 14.61 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006006/0.8428, allocations: 1.148 MB / 0.7466 GB, free: 13.46 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005798/0.8486, allocations: 1.891 MB / 0.7484 GB, free: 11.57 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.8511, allocations: 0.8135 MB / 0.7492 GB, free: 10.73 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.8551, allocations: 0.9964 MB / 0.7502 GB, free: 9.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.8572, allocations: 0.6144 MB / 0.7508 GB, free: 9.113 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.8578, allocations: 40 kB / 0.7508 GB, free: 9.074 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.8618, allocations: 0.979 MB / 0.7518 GB, free: 8.094 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006349/0.8625, allocations: 187.2 kB / 0.752 GB, free: 7.91 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007551/0.8633, allocations: 289 kB / 0.7523 GB, free: 7.621 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.8674, allocations: 1.584 MB / 0.7538 GB, free: 6.035 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8675, allocations: 0 / 0.7538 GB, free: 6.035 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8675, allocations: 0 / 0.7538 GB, free: 6.035 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.106e-05/0.8676, allocations: 0 / 0.7538 GB, free: 6.035 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.004839/0.8724, allocations: 1.482 MB / 0.7553 GB, free: 4.496 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.8725, allocations: 11.97 kB / 0.7553 GB, free: 4.484 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004057/0.8729, allocations: 122.7 kB / 0.7554 GB, free: 4.355 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.877, allocations: 477.9 kB / 0.7558 GB, free: 3.887 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.881, allocations: 1.062 MB / 0.7569 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007268/0.8818, allocations: 129.9 kB / 0.757 GB, free: 2.641 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/0.8821, allocations: 76 kB / 0.7571 GB, free: 2.566 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.886, allocations: 0.9917 MB / 0.758 GB, free: 1.535 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.8861, allocations: 3.938 kB / 0.758 GB, free: 1.531 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.8862, allocations: 36 kB / 0.7581 GB, free: 1.496 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.8863, allocations: 20 kB / 0.7581 GB, free: 1.477 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.891, allocations: 0.9173 MB / 0.759 GB, free: 0.5625 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.01189/0.9029, allocations: 4.644 MB / 0.7635 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/0.9101, allocations: 0.944 MB / 0.7644 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009604/0.9111, allocations: 0.8986 MB / 0.7653 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/0.9112, allocations: 38.56 kB / 0.7654 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=43): time 3.687e-06/0.9112, allocations: 0 / 0.7654 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43): time 0.01587/0.9271, allocations: 2.014 MB / 0.7673 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.9272, allocations: 55.41 kB / 0.7674 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/0.9301, allocations: 1.083 MB / 0.7684 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.9304, allocations: 37.7 kB / 0.7685 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.9311, allocations: 0.539 MB / 0.769 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.9313, allocations: 149.8 kB / 0.7691 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.9314, allocations: 12 kB / 0.7692 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9315, allocations: 326 kB / 0.7695 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.9333, allocations: 332.9 kB / 0.7698 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.9355, allocations: 0.5289 MB / 0.7703 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.9374, allocations: 360.6 kB / 0.7706 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.9375, allocations: 4 kB / 0.7706 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007281/0.9448, allocations: 1.233 MB / 0.7719 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006394/0.9454, allocations: 1.493 MB / 0.7733 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.9455, allocations: 7.938 kB / 0.7733 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.9479, allocations: 334.1 kB / 0.7736 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.9491, allocations: 143.7 kB / 0.7738 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.9518, allocations: 0.9347 MB / 0.7747 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.9544, allocations: 199.3 kB / 0.7749 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.9547, allocations: 31.98 kB / 0.7749 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9547, allocations: 4 kB / 0.7749 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00653/0.9612, allocations: 1.088 MB / 0.776 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.9613, allocations: 7.938 kB / 0.776 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/0.9634, allocations: 330.1 kB / 0.7763 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.9646, allocations: 135.8 kB / 0.7764 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.9672, allocations: 0.9355 MB / 0.7773 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.9696, allocations: 167.3 kB / 0.7775 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.9698, allocations: 35.98 kB / 0.7775 GB, free: 12.7 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.0008255/0.9707, allocations: 348.9 kB / 0.7779 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.9711, allocations: 118.5 kB / 0.778 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007371/0.9785, allocations: 1.23 MB / 0.7792 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.9785, allocations: 8 kB / 0.7792 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9786, allocations: 0 / 0.7792 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.9786, allocations: 3.984 kB / 0.7792 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009725/0.9883, allocations: 2.218 MB / 0.7814 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.9884, allocations: 0 / 0.7814 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.989, allocations: 67.88 kB / 0.7814 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/0.991, allocations: 320.8 kB / 0.7817 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.9912, allocations: 23.94 kB / 0.7818 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.9938, allocations: 0.9615 MB / 0.7827 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.9939, allocations: 4.031 kB / 0.7827 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006942/1.001, allocations: 1.3 MB / 0.784 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/1.002, allocations: 283.4 kB / 0.7842 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.002, allocations: 16 kB / 0.7842 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.004, allocations: 111.8 kB / 0.7844 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.004, allocations: 31.95 kB / 0.7844 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.004, allocations: 15.98 kB / 0.7844 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002218/1.007, allocations: 0.7629 MB / 0.7851 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.21e-07/1.007, allocations: 0 / 0.7851 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002666/1.009, allocations: 0.5614 MB / 0.7857 GB, free: 4.129 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.008452/1.018, allocations: 2.452 MB / 0.7881 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006163/1.024, allocations: 1.186 MB / 0.7892 GB, free: 448 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.024, allocations: 256 / 0.7892 GB, free: 448 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.026, allocations: 374.8 kB / 0.7896 GB, free: 72 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/1.031, allocations: 0.5239 MB / 0.7901 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.044, allocations: 5.596 MB / 0.7956 GB, free: 9.801 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/1.044, allocations: 1.093 MB / 0.7966 GB, free: 8.676 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.001844/1.046, allocations: 216.9 kB / 0.7969 GB, free: 8.461 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.047, allocations: 415.3 kB / 0.7973 GB, free: 8.055 MB / 0.6199 GB Notification: Performance of SimCode: time 1.032e-06/1.047, allocations: 3.938 kB / 0.7973 GB, free: 8.051 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.157, allocations: 33.66 MB / 0.8301 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/1.157, allocations: 254.7 kB / 0.8304 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/5.091, allocations: 0 / 0.8304 GB, free: 6.5 MB / 0.6511 GB