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.EquationFitReversible_ScalingFactor.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.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",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.01532/0.01532, allocations: 84.81 kB / 15.04 MB, free: 6.062 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.001895/0.001895, allocations: 170.4 kB / 15.92 MB, free: 6 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 2.094/2.094, 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.522/2.522, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007888/0.0007565, allocations: 23.48 kB / 0.6243 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2784, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1849/0.4634, allocations: 96.54 MB / 0.8223 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04246/0.5059, allocations: 18.18 MB / 0.8401 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004832/0.5108, allocations: 91.38 kB / 0.8402 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.008001/0.5188, allocations: 1.567 MB / 0.8417 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.5363, allocations: 3.615 MB / 0.8453 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.6392/1.176, allocations: 2.541 MB / 0.8477 GB, free: 39.46 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.188, allocations: 4.68 MB / 0.8523 GB, free: 39.46 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005351/1.194, allocations: 1.987 MB / 0.8542 GB, free: 39.27 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00813/1.202, allocations: 2.161 MB / 0.8564 GB, free: 39.26 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/1.207, allocations: 1.54 MB / 0.8579 GB, free: 39.26 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/1.209, allocations: 125.5 kB / 0.858 GB, free: 39.25 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007342/1.216, allocations: 1.213 MB / 0.8592 GB, free: 39.25 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002157/1.219, allocations: 0.6179 MB / 0.8598 GB, free: 39.25 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/1.221, allocations: 0.6665 MB / 0.8604 GB, free: 39.22 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.231, allocations: 3.833 MB / 0.8642 GB, free: 38.95 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.231, allocations: 0 / 0.8642 GB, free: 38.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.946e-06/1.231, allocations: 0 / 0.8642 GB, free: 38.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002234/1.232, allocations: 0.75 kB / 0.8642 GB, free: 38.95 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01302/1.245, allocations: 3.197 MB / 0.8673 GB, free: 37.36 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.245, allocations: 9.5 kB / 0.8673 GB, free: 37.36 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001403/1.246, allocations: 283.7 kB / 0.8676 GB, free: 37.31 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/1.252, allocations: 0.6418 MB / 0.8682 GB, free: 37.12 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/1.262, allocations: 2.508 MB / 0.8706 GB, free: 36.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/1.263, allocations: 304.2 kB / 0.8709 GB, free: 36.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009964/1.264, allocations: 201.7 kB / 0.8711 GB, free: 36.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/1.275, allocations: 2.441 MB / 0.8735 GB, free: 36.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/1.275, allocations: 12.34 kB / 0.8735 GB, free: 36.08 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007047/1.276, allocations: 85.59 kB / 0.8736 GB, free: 36.08 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/1.276, allocations: 63.3 kB / 0.8737 GB, free: 36.08 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/1.287, allocations: 2.075 MB / 0.8757 GB, free: 36.05 MB / 0.6667 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.02753/1.315, allocations: 10.92 MB / 0.8863 GB, free: 30.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/1.32, allocations: 1.208 MB / 0.8875 GB, free: 30.69 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.322, allocations: 1.326 MB / 0.8888 GB, free: 29.18 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00405/1.326, allocations: 0.9621 MB / 0.8898 GB, free: 29.01 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=115): time 5.159e-06/1.326, allocations: 0 / 0.8898 GB, free: 29.01 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115): time 0.01144/1.337, allocations: 2.17 MB / 0.8919 GB, free: 28.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/1.337, allocations: 484.5 kB / 0.8923 GB, free: 28.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/1.344, allocations: 2.509 MB / 0.8948 GB, free: 28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005517/1.345, allocations: 53.36 kB / 0.8948 GB, free: 27.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.347, allocations: 1.321 MB / 0.8961 GB, free: 27.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008629/1.348, allocations: 402.5 kB / 0.8965 GB, free: 27.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.348, allocations: 29.47 kB / 0.8965 GB, free: 27.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.348, allocations: 369.5 kB / 0.8969 GB, free: 27.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/1.351, allocations: 0.6888 MB / 0.8976 GB, free: 27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/1.355, allocations: 1.221 MB / 0.8988 GB, free: 26.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/1.359, allocations: 0.808 MB / 0.8996 GB, free: 26.35 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.359, allocations: 3.25 kB / 0.8996 GB, free: 26.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.009586/1.369, allocations: 2.098 MB / 0.9016 GB, free: 25.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009557/1.37, allocations: 4.322 MB / 0.9058 GB, free: 21.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.926e-05/1.37, allocations: 9.469 kB / 0.9058 GB, free: 21.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-05/1.37, allocations: 18.72 kB / 0.9059 GB, free: 21.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.374, allocations: 416.6 kB / 0.9062 GB, free: 21.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-05/1.374, allocations: 28.48 kB / 0.9063 GB, free: 21.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005327/1.379, allocations: 333.8 kB / 0.9066 GB, free: 21.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006062/1.38, allocations: 72 kB / 0.9067 GB, free: 21.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.38, allocations: 8.328 kB / 0.9067 GB, free: 21.15 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008108/1.388, allocations: 1.834 MB / 0.9085 GB, free: 20.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.388, allocations: 11.09 kB / 0.9085 GB, free: 20.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.764e-05/1.388, allocations: 16.69 kB / 0.9085 GB, free: 20.85 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/1.392, allocations: 428.3 kB / 0.9089 GB, free: 20.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.426e-05/1.392, allocations: 27.72 kB / 0.9089 GB, free: 20.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005018/1.397, allocations: 317.9 kB / 0.9092 GB, free: 20.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005753/1.397, allocations: 67.62 kB / 0.9093 GB, free: 20.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002735/1.4, allocations: 0.6862 MB / 0.91 GB, free: 20.38 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.402, allocations: 274.7 kB / 0.9102 GB, free: 20.24 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008576/1.41, allocations: 1.956 MB / 0.9121 GB, free: 19.72 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.41, allocations: 12.44 kB / 0.9121 GB, free: 19.72 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.41, allocations: 3.953 kB / 0.9121 GB, free: 19.72 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006335/1.417, allocations: 1.508 MB / 0.9136 GB, free: 19.26 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.433, allocations: 4.738 MB / 0.9182 GB, free: 17.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.433, allocations: 10.36 kB / 0.9183 GB, free: 17.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.436, allocations: 276.8 kB / 0.9185 GB, free: 17.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.951e-05/1.436, allocations: 11.66 kB / 0.9185 GB, free: 17.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003798/1.437, allocations: 36.88 kB / 0.9186 GB, free: 17.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.206e-05/1.437, allocations: 12.44 kB / 0.9186 GB, free: 17.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/1.437, allocations: 6.531 kB / 0.9186 GB, free: 17.33 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.448, allocations: 3.387 MB / 0.9219 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/1.451, allocations: 0.5746 MB / 0.9225 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/1.452, allocations: 33.72 kB / 0.9225 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004754/1.457, allocations: 174.8 kB / 0.9227 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/1.458, allocations: 123.5 kB / 0.9228 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002928/1.458, allocations: 53.7 kB / 0.9228 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00516/1.463, allocations: 1.739 MB / 0.9245 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.41e-07/1.463, allocations: 0 / 0.9245 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008687/1.472, allocations: 1.407 MB / 0.9259 GB, free: 13.79 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01394/1.486, allocations: 5.854 MB / 0.9316 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.497, allocations: 2.781 MB / 0.9343 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/1.497, allocations: 8.25 kB / 0.9343 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003714/1.501, allocations: 0.8541 MB / 0.9352 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/1.513, allocations: 1.294 MB / 0.9364 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.537, allocations: 14.22 MB / 0.9503 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003184/1.54, allocations: 1.811 MB / 0.9521 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.007074/1.547, allocations: 0.6867 MB / 0.9528 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003467/1.55, allocations: 1.128 MB / 0.9539 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/1.55, allocations: 0 / 0.9539 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/1.755, allocations: 73.79 MB / 1.026 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003976/1.755, allocations: 248 kB / 1.026 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.11/7.865, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.7605 GB