Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",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.01525/0.01525, allocations: 88.28 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.001928/0.001928, allocations: 172.7 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 2.204/2.204, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.539/2.539, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008937/0.0008939, allocations: 13.88 kB / 0.6243 GB, free: 28.48 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2281, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.08924/0.3174, allocations: 52.44 MB / 0.7793 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.3431, allocations: 11.85 MB / 0.7908 GB, free: 9.742 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.3459, allocations: 47.69 kB / 0.7909 GB, free: 9.695 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.3506, allocations: 0.937 MB / 0.7918 GB, free: 8.754 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.009279/0.3599, allocations: 2.123 MB / 0.7939 GB, free: 6.625 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.007213/0.3672, allocations: 1.532 MB / 0.7954 GB, free: 5.09 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.00667/0.3739, allocations: 2.503 MB / 0.7978 GB, free: 2.578 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.3765, allocations: 1.066 MB / 0.7989 GB, free: 1.488 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.3804, allocations: 1.203 MB / 0.8 GB, free: 288 kB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.3829, allocations: 0.8675 MB / 0.8009 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000559/0.3835, allocations: 68 kB / 0.8009 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/0.3876, allocations: 0.8581 MB / 0.8018 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008771/0.3885, allocations: 346.7 kB / 0.8021 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008112/0.3894, allocations: 384.7 kB / 0.8025 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/0.3943, allocations: 2.143 MB / 0.8046 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3943, allocations: 4 kB / 0.8046 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3944, allocations: 0 / 0.8046 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.66e-05/0.3944, allocations: 0 / 0.8046 GB, free: 11.61 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006507/0.401, allocations: 2.006 MB / 0.8065 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.401, allocations: 8.031 kB / 0.8065 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004913/0.4015, allocations: 164.6 kB / 0.8067 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/0.4039, allocations: 349.5 kB / 0.807 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.4082, allocations: 1.399 MB / 0.8084 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.4085, allocations: 157.5 kB / 0.8086 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.4088, allocations: 108 kB / 0.8087 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.4137, allocations: 1.41 MB / 0.81 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/0.4138, allocations: 7.875 kB / 0.81 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.414, allocations: 44 kB / 0.8101 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.811e-05/0.4141, allocations: 32 kB / 0.8101 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005927/0.42, allocations: 1.339 MB / 0.8114 GB, free: 4.383 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.01302/0.4331, allocations: 6.378 MB / 0.8176 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.437, allocations: 1.152 MB / 0.8188 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.4382, allocations: 1.152 MB / 0.8199 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.4383, allocations: 39.22 kB / 0.8199 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 3.857e-06/0.4383, allocations: 0 / 0.8199 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.007888/0.4462, allocations: 1.577 MB / 0.8215 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.4463, allocations: 111.5 kB / 0.8216 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.4492, allocations: 1.307 MB / 0.8229 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.4495, allocations: 37.7 kB / 0.8229 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/0.4504, allocations: 0.7124 MB / 0.8236 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/0.4508, allocations: 272.1 kB / 0.8238 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.451, allocations: 20 kB / 0.8239 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4511, allocations: 341.9 kB / 0.8242 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.4535, allocations: 485.7 kB / 0.8247 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.4562, allocations: 0.7074 MB / 0.8253 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.4588, allocations: 0.5221 MB / 0.8259 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4588, allocations: 0 / 0.8259 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00596/0.4648, allocations: 1.331 MB / 0.8272 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007613/0.4656, allocations: 1.885 MB / 0.829 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.4657, allocations: 4 kB / 0.829 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/0.4657, allocations: 23.92 kB / 0.829 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.4682, allocations: 287.6 kB / 0.8293 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/0.4683, allocations: 11.98 kB / 0.8293 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.4709, allocations: 222.9 kB / 0.8295 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.4711, allocations: 39.98 kB / 0.8296 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4712, allocations: 4 kB / 0.8296 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00549/0.4767, allocations: 1.175 MB / 0.8307 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4767, allocations: 4 kB / 0.8307 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4768, allocations: 12 kB / 0.8307 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.4792, allocations: 296.2 kB / 0.831 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.4793, allocations: 11.94 kB / 0.831 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.4818, allocations: 211 kB / 0.8312 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.482, allocations: 43.94 kB / 0.8313 GB, free: 14.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.4831, allocations: 456.9 kB / 0.8317 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004774/0.4836, allocations: 146.2 kB / 0.8318 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005912/0.4895, allocations: 1.474 MB / 0.8333 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.4896, allocations: 8 kB / 0.8333 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4896, allocations: 0 / 0.8333 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004779/0.4944, allocations: 1.097 MB / 0.8344 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009884/0.5044, allocations: 2.903 MB / 0.8372 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5044, allocations: 4 kB / 0.8372 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.5064, allocations: 212.3 kB / 0.8374 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.5064, allocations: 8 kB / 0.8374 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.5066, allocations: 27.98 kB / 0.8374 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.5066, allocations: 4 kB / 0.8374 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.5066, allocations: 15.88 kB / 0.8375 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/0.5152, allocations: 2.295 MB / 0.8397 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.5165, allocations: 366.8 kB / 0.84 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/0.517, allocations: 20 kB / 0.8401 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/0.5197, allocations: 167.7 kB / 0.8402 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/0.5201, allocations: 88.34 kB / 0.8403 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.5203, allocations: 35.97 kB / 0.8403 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002201/0.5225, allocations: 0.9323 MB / 0.8413 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.022e-06/0.5226, allocations: 0 / 0.8413 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003553/0.5261, allocations: 0.7991 MB / 0.842 GB, free: 3.43 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5736/1.1, allocations: 4.36 MB / 0.8463 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007891/1.108, allocations: 1.782 MB / 0.848 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.108, allocations: 1.625 kB / 0.848 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/1.111, allocations: 0.6365 MB / 0.8487 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/1.116, allocations: 0.6618 MB / 0.8493 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/1.126, allocations: 7.404 MB / 0.8565 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.127, allocations: 1.303 MB / 0.8578 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002984/1.13, allocations: 381.4 kB / 0.8582 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/1.131, allocations: 0.6129 MB / 0.8588 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.443e-06/1.131, allocations: 0 / 0.8588 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.236, allocations: 40.2 MB / 0.898 GB, free: 85.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.236, allocations: 237.7 kB / 0.8982 GB, free: 85.44 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/5.288, allocations: 4 kB / 0.8983 GB, free: 85.43 MB / 0.6667 GB