Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01041/0.01042, allocations: 90.67 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001241/0.001241, allocations: 175 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 1.963/1.963, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.408/2.408, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006539, allocations: 11.09 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2408, allocations: 106.2 MB / 0.7281 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.09517/0.336, allocations: 51.37 MB / 0.7782 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02715/0.3632, allocations: 10.22 MB / 0.7882 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.3654, allocations: 47.69 kB / 0.7883 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.3689, allocations: 0.6257 MB / 0.7889 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008468/0.3774, allocations: 1.901 MB / 0.7907 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.3833, allocations: 1.244 MB / 0.7919 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005248/0.3886, allocations: 1.847 MB / 0.7937 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.3916, allocations: 0.8225 MB / 0.7945 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.3961, allocations: 0.9769 MB / 0.7955 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.3986, allocations: 0.6144 MB / 0.7961 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.3991, allocations: 48 kB / 0.7961 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.4038, allocations: 0.9751 MB / 0.7971 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.4044, allocations: 203.1 kB / 0.7973 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.4051, allocations: 281.1 kB / 0.7976 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.409, allocations: 1.586 MB / 0.7991 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4091, allocations: 0 / 0.7991 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4091, allocations: 0 / 0.7991 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.897e-05/0.4091, allocations: 0 / 0.7991 GB, free: 15.18 MB / 0.6355 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.004738/0.4139, allocations: 1.493 MB / 0.8006 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.414, allocations: 17.03 kB / 0.8006 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.4143, allocations: 122.7 kB / 0.8007 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/0.4189, allocations: 0.5135 MB / 0.8012 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.422, allocations: 1.063 MB / 0.8022 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006745/0.4227, allocations: 133.9 kB / 0.8024 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.423, allocations: 87.94 kB / 0.8025 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.4269, allocations: 1.021 MB / 0.8034 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.4269, allocations: 0 / 0.8034 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.4271, allocations: 35.95 kB / 0.8035 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.4271, allocations: 20 kB / 0.8035 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004803/0.4319, allocations: 1.003 MB / 0.8045 GB, free: 9.52 MB / 0.6355 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.01093/0.4429, allocations: 4.733 MB / 0.8091 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008525/0.4515, allocations: 1.133 MB / 0.8102 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/0.4531, allocations: 1.033 MB / 0.8112 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4532, allocations: 43 kB / 0.8113 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/0.4532, allocations: 0 / 0.8113 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.01856/0.4717, allocations: 2.483 MB / 0.8137 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.4718, allocations: 63.84 kB / 0.8137 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.4739, allocations: 0.9432 MB / 0.8147 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.4741, allocations: 37.7 kB / 0.8147 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.4747, allocations: 0.5041 MB / 0.8152 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.475, allocations: 181.3 kB / 0.8154 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.4751, allocations: 16 kB / 0.8154 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4752, allocations: 326 kB / 0.8157 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.4772, allocations: 376.9 kB / 0.8161 GB, free: 13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.4794, allocations: 0.5395 MB / 0.8166 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.4814, allocations: 389.9 kB / 0.817 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4814, allocations: 4 kB / 0.817 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.007197/0.4886, allocations: 1.302 MB / 0.8182 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004632/0.4891, allocations: 0.9612 MB / 0.8192 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4892, allocations: 4 kB / 0.8192 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.4914, allocations: 332.5 kB / 0.8195 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.4927, allocations: 139.8 kB / 0.8196 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.4953, allocations: 0.9344 MB / 0.8205 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.4975, allocations: 175.3 kB / 0.8207 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.4976, allocations: 35.97 kB / 0.8207 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4977, allocations: 4 kB / 0.8207 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006697/0.5044, allocations: 1.153 MB / 0.8219 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5044, allocations: 0 / 0.8219 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.5064, allocations: 328.8 kB / 0.8222 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.5077, allocations: 139.8 kB / 0.8223 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.5102, allocations: 0.9269 MB / 0.8232 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.5124, allocations: 175.4 kB / 0.8234 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.5126, allocations: 31.92 kB / 0.8234 GB, free: 5.262 MB / 0.6511 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.00092/0.5136, allocations: 348.9 kB / 0.8237 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.5139, allocations: 110.6 kB / 0.8239 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008437/0.5224, allocations: 1.444 MB / 0.8253 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.5224, allocations: 4 kB / 0.8253 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5224, allocations: 0 / 0.8253 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.5225, allocations: 3.984 kB / 0.8253 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.5333, allocations: 2.545 MB / 0.8278 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.5334, allocations: 4 kB / 0.8278 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5345, allocations: 116 kB / 0.8279 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.5364, allocations: 320.6 kB / 0.8282 GB, free: 292 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.5365, allocations: 19.98 kB / 0.8282 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5558/1.092, allocations: 0.9572 MB / 0.8291 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.092, allocations: 5.766 kB / 0.8291 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008466/1.101, allocations: 1.526 MB / 0.8306 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009372/1.102, allocations: 293.4 kB / 0.8309 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.102, allocations: 13.61 kB / 0.8309 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/1.104, allocations: 131 kB / 0.831 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.104, allocations: 38.73 kB / 0.8311 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.104, allocations: 24.66 kB / 0.8311 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001836/1.106, allocations: 0.6691 MB / 0.8318 GB, free: 100 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.106, allocations: 2.625 kB / 0.8318 GB, free: 100 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00247/1.109, allocations: 0.5664 MB / 0.8323 GB, free: 100 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * 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.00927/1.118, allocations: 2.75 MB / 0.835 GB, free: 98.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006841/1.125, allocations: 1.374 MB / 0.8363 GB, free: 98.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.125, allocations: 4.75 kB / 0.8363 GB, free: 98.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/1.127, allocations: 481.3 kB / 0.8368 GB, free: 98.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/1.132, allocations: 0.5003 MB / 0.8373 GB, free: 97.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/1.139, allocations: 4.487 MB / 0.8417 GB, free: 94.67 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007972/1.14, allocations: 1.092 MB / 0.8427 GB, free: 93.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001813/1.142, allocations: 233.5 kB / 0.843 GB, free: 93.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009826/1.143, allocations: 420.5 kB / 0.8434 GB, free: 93.57 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.143, allocations: 0 / 0.8434 GB, free: 93.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09495/1.238, allocations: 32.98 MB / 0.8756 GB, free: 77.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.238, allocations: 274.9 kB / 0.8758 GB, free: 77.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/5.126, allocations: 0 / 0.8758 GB, free: 77.47 MB / 0.6511 GB