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.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.0117/0.01171, allocations: 103.6 kB / 15.06 MB, free: 6.027 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.001397/0.001397, allocations: 181.9 kB / 15.95 MB, free: 5.953 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.08/2.08, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.585/2.585, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.0005252, allocations: 16 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7605, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.1127/0.8732, allocations: 57.85 MB / 0.7399 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.903, allocations: 12.37 MB / 0.752 GB, free: 8.047 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/0.9068, allocations: 63.5 kB / 0.7521 GB, free: 7.984 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004597/0.9114, allocations: 0.7889 MB / 0.7528 GB, free: 7.191 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.9228, allocations: 2.173 MB / 0.755 GB, free: 5.008 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009176/0.932, allocations: 1.786 MB / 0.7567 GB, free: 3.223 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007707/0.9397, allocations: 2.628 MB / 0.7593 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.9429, allocations: 1.137 MB / 0.7604 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.9478, allocations: 1.249 MB / 0.7616 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.9503, allocations: 0.8049 MB / 0.7624 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005127/0.9509, allocations: 68 kB / 0.7624 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005521/0.9564, allocations: 1.268 MB / 0.7637 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008909/0.9574, allocations: 286.8 kB / 0.764 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.9584, allocations: 396.8 kB / 0.7643 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00632/0.9647, allocations: 2.439 MB / 0.7667 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9648, allocations: 0 / 0.7667 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.798e-06/0.9648, allocations: 0 / 0.7667 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.727e-05/0.9649, allocations: 0 / 0.7667 GB, free: 8.906 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006399/0.9713, allocations: 1.947 MB / 0.7686 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.9714, allocations: 12.02 kB / 0.7686 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006635/0.9721, allocations: 181.3 kB / 0.7688 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009717/0.9818, allocations: 0.6926 MB / 0.7695 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.9865, allocations: 1.444 MB / 0.7709 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.9868, allocations: 128 kB / 0.771 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.9872, allocations: 116 kB / 0.7711 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/0.9945, allocations: 1.603 MB / 0.7727 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.9946, allocations: 0 / 0.7727 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.9948, allocations: 52 kB / 0.7727 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.952e-05/0.9949, allocations: 39.94 kB / 0.7728 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009451/1.004, allocations: 1.456 MB / 0.7742 GB, free: 0.9961 MB / 0.5886 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.01827/1.023, allocations: 7.154 MB / 0.7812 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/1.027, allocations: 0.7604 MB / 0.7819 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/1.029, allocations: 1.267 MB / 0.7832 GB, free: 7.148 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/1.029, allocations: 43.12 kB / 0.7832 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 3.727e-06/1.029, allocations: 0.5625 kB / 0.7832 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.01738/1.046, allocations: 2.132 MB / 0.7853 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.046, allocations: 111.4 kB / 0.7854 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/1.05, allocations: 1.332 MB / 0.7867 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/1.05, allocations: 41.7 kB / 0.7867 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.052, allocations: 0.7294 MB / 0.7875 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/1.052, allocations: 240.6 kB / 0.7877 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/1.052, allocations: 20 kB / 0.7877 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.053, allocations: 345.9 kB / 0.788 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/1.056, allocations: 489.7 kB / 0.7885 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.06, allocations: 0.8655 MB / 0.7893 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/1.063, allocations: 0.5653 MB / 0.7899 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.261e-05/1.063, allocations: 4 kB / 0.7899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.008851/1.072, allocations: 1.597 MB / 0.7915 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001752/1.074, allocations: 4.054 MB / 0.7954 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/1.074, allocations: 8 kB / 0.7954 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.077, allocations: 454.8 kB / 0.7959 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/1.079, allocations: 267.5 kB / 0.7961 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/1.082, allocations: 1.072 MB / 0.7972 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/1.086, allocations: 270.5 kB / 0.7974 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/1.087, allocations: 55.97 kB / 0.7975 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.087, allocations: 4 kB / 0.7975 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008077/1.095, allocations: 1.445 MB / 0.7989 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/1.095, allocations: 16.12 kB / 0.7989 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/1.098, allocations: 440.4 kB / 0.7993 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.1, allocations: 259.6 kB / 0.7996 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/1.103, allocations: 1.085 MB / 0.8006 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.107, allocations: 238.8 kB / 0.8009 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/1.107, allocations: 51.98 kB / 0.8009 GB, free: 4.379 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001428/1.109, allocations: 456.8 kB / 0.8013 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/1.109, allocations: 134.4 kB / 0.8015 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006813/1.116, allocations: 1.241 MB / 0.8027 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.116, allocations: 16 kB / 0.8027 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.116, allocations: 0 / 0.8027 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005834/1.122, allocations: 1.053 MB / 0.8037 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.135, allocations: 3.236 MB / 0.8069 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/1.135, allocations: 12.19 kB / 0.8069 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.137, allocations: 131.8 kB / 0.807 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/1.139, allocations: 431.2 kB / 0.8074 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.139, allocations: 20 kB / 0.8075 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/1.142, allocations: 1.06 MB / 0.8085 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-05/1.142, allocations: 7.953 kB / 0.8085 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006783/1.149, allocations: 1.5 MB / 0.81 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.15, allocations: 371 kB / 0.8103 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/1.151, allocations: 20 kB / 0.8103 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/1.154, allocations: 135.8 kB / 0.8105 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.154, allocations: 56.27 kB / 0.8105 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.155, allocations: 35.97 kB / 0.8106 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002709/1.157, allocations: 0.9128 MB / 0.8114 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.976e-06/1.157, allocations: 0 / 0.8114 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005085/1.162, allocations: 0.9628 MB / 0.8124 GB, free: 8.133 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009738/1.172, allocations: 3.474 MB / 0.8158 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.183, allocations: 1.843 MB / 0.8176 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/1.183, allocations: 0 / 0.8176 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.186, allocations: 0.4949 MB / 0.8181 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/1.193, allocations: 0.6676 MB / 0.8187 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.208, allocations: 10.89 MB / 0.8293 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.21, allocations: 1.238 MB / 0.8306 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003338/1.213, allocations: 343.5 kB / 0.8309 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/1.215, allocations: 0.5383 MB / 0.8314 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of SimCode: time 1.954e-06/1.215, allocations: 0 / 0.8314 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/1.354, allocations: 46.46 MB / 0.8768 GB, free: 6.254 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004266/1.354, allocations: 276.7 kB / 0.877 GB, free: 5.898 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.767/6.121, allocations: 0 / 0.877 GB, free: 5.898 MB / 0.698 GB