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_CoolingClosedLoop.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_CoolingClosedLoop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",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.01378/0.01378, allocations: 88.36 kB / 15.04 MB, free: 6.059 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.001693/0.001693, allocations: 170.1 kB / 15.92 MB, free: 5.996 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.27/2.27, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.421/2.421, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.000638, allocations: 10.78 kB / 0.6243 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 106.2 MB / 0.728 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.1234/0.3511, allocations: 75.17 MB / 0.8015 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04789/0.399, allocations: 21.83 MB / 0.8228 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.4033, allocations: 87.38 kB / 0.8229 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.008056/0.4114, allocations: 1.544 MB / 0.8244 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.4272, allocations: 3.541 MB / 0.8278 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.4429, allocations: 3.482 MB / 0.8312 GB, free: 244 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.4536, allocations: 3.99 MB / 0.8351 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004222/0.4579, allocations: 1.774 MB / 0.8369 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/0.464, allocations: 1.872 MB / 0.8387 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.4677, allocations: 1.369 MB / 0.84 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0008904/0.4687, allocations: 116 kB / 0.8401 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006938/0.4756, allocations: 1.677 MB / 0.8418 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.4772, allocations: 0.5799 MB / 0.8423 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.4785, allocations: 0.5666 MB / 0.8429 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.008292/0.4868, allocations: 3.542 MB / 0.8463 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4869, allocations: 3.938 kB / 0.8464 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of FrontEnd: time 7.394e-06/0.4869, allocations: 4 kB / 0.8464 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001422/0.4871, allocations: 0 / 0.8464 GB, free: 0.6602 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.5848/1.072, allocations: 2.966 MB / 0.8493 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.072, allocations: 10.25 kB / 0.8493 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009024/1.073, allocations: 227.7 kB / 0.8495 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/1.079, allocations: 0.7119 MB / 0.8502 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/1.086, allocations: 2.17 MB / 0.8523 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0015/1.088, allocations: 334.9 kB / 0.8526 GB, free: 116.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006771/1.088, allocations: 168.3 kB / 0.8528 GB, free: 116.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007746/1.096, allocations: 2.109 MB / 0.8548 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/1.096, allocations: 0.5156 kB / 0.8548 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/1.096, allocations: 67.28 kB / 0.8549 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.288e-05/1.097, allocations: 42.83 kB / 0.8549 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009231/1.106, allocations: 2 MB / 0.8569 GB, free: 114.8 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.02142/1.127, allocations: 9.281 MB / 0.866 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/1.133, allocations: 1.308 MB / 0.8672 GB, free: 107.8 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 evalFunc (simulation): time 0.01098/1.144, allocations: 4.113 MB / 0.8713 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003582/1.148, allocations: 0.8793 MB / 0.8721 GB, free: 104 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001699/1.15, allocations: 209.5 kB / 0.8723 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=104): time 7.193e-06/1.15, allocations: 0 / 0.8723 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104): time 0.01065/1.16, allocations: 2.138 MB / 0.8744 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/1.161, allocations: 173.6 kB / 0.8746 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/1.165, allocations: 2.165 MB / 0.8767 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004264/1.166, allocations: 54.89 kB / 0.8767 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.167, allocations: 1.139 MB / 0.8778 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005375/1.168, allocations: 353.4 kB / 0.8782 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.168, allocations: 30.88 kB / 0.8782 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.168, allocations: 363.8 kB / 0.8786 GB, free: 99.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/1.171, allocations: 0.7258 MB / 0.8793 GB, free: 99.47 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/1.175, allocations: 1.168 MB / 0.8804 GB, free: 98.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/1.179, allocations: 0.8035 MB / 0.8812 GB, free: 98.19 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.179, allocations: 3.531 kB / 0.8812 GB, free: 98.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008713/1.188, allocations: 2.093 MB / 0.8832 GB, free: 97.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007634/1.188, allocations: 4.109 MB / 0.8872 GB, free: 92.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.505e-05/1.188, allocations: 13.86 kB / 0.8873 GB, free: 92.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.352e-05/1.189, allocations: 19.06 kB / 0.8873 GB, free: 92.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/1.192, allocations: 423.4 kB / 0.8877 GB, free: 92.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.843e-05/1.192, allocations: 24.52 kB / 0.8877 GB, free: 92.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/1.196, allocations: 275.8 kB / 0.888 GB, free: 92.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/1.197, allocations: 71.78 kB / 0.888 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.197, allocations: 6.062 kB / 0.888 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007758/1.205, allocations: 1.862 MB / 0.8899 GB, free: 91.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/1.205, allocations: 10.38 kB / 0.8899 GB, free: 91.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.205, allocations: 17.94 kB / 0.8899 GB, free: 91.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/1.208, allocations: 419.2 kB / 0.8903 GB, free: 91.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-05/1.208, allocations: 22.31 kB / 0.8903 GB, free: 91.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.212, allocations: 272.1 kB / 0.8906 GB, free: 91.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003934/1.213, allocations: 67.38 kB / 0.8906 GB, free: 91.35 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.TSouEnt.T_start,TSouEnt.T_start,$PRE.TSouEnt.count,TSouEnt.count,$PRE.TLoaSet.T_start,TLoaSet.T_start,$PRE.TLoaSet.count,TLoaSet.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.001725/1.214, allocations: 0.625 MB / 0.8912 GB, free: 90.89 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008159/1.215, allocations: 231.2 kB / 0.8915 GB, free: 90.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007397/1.223, allocations: 1.964 MB / 0.8934 GB, free: 89.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.223, allocations: 11.81 kB / 0.8934 GB, free: 89.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.223, allocations: 3.984 kB / 0.8934 GB, free: 89.69 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005756/1.229, allocations: 1.493 MB / 0.8949 GB, free: 88.91 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 postOpt removeSimpleEquations (simulation): time 0.01184/1.24, allocations: 3.956 MB / 0.8987 GB, free: 85.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.24, allocations: 5.812 kB / 0.8987 GB, free: 85.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.243, allocations: 279.8 kB / 0.899 GB, free: 85.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/1.243, allocations: 8 kB / 0.899 GB, free: 85.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.243, allocations: 27.97 kB / 0.899 GB, free: 85.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.243, allocations: 8 kB / 0.899 GB, free: 85.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.243, allocations: 8 kB / 0.899 GB, free: 85.55 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009843/1.253, allocations: 2.831 MB / 0.9018 GB, free: 82.63 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.255, allocations: 0.49 MB / 0.9023 GB, free: 82.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005283/1.255, allocations: 24 kB / 0.9023 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003779/1.259, allocations: 236.6 kB / 0.9025 GB, free: 81.86 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004973/1.26, allocations: 128.7 kB / 0.9027 GB, free: 81.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.26, allocations: 55.94 kB / 0.9027 GB, free: 81.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003342/1.263, allocations: 1.475 MB / 0.9042 GB, free: 80.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.373e-06/1.263, allocations: 0 / 0.9042 GB, free: 80.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005356/1.269, allocations: 1.311 MB / 0.9054 GB, free: 78.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,reaToInt.y,uMod.T_start,uMod.count,pulse.T_start,pulse.count,TSouEnt.T_start,TSouEnt.count,TLoaSet.T_start,TLoaSet.count) * Number of discrete states: 4 (uMod.count,pulse.count,TSouEnt.count,TLoaSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.01192/1.28, allocations: 4.461 MB / 0.9098 GB, free: 74.46 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.291, allocations: 2.759 MB / 0.9125 GB, free: 71.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.291, allocations: 0 / 0.9125 GB, free: 71.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.295, allocations: 0.8541 MB / 0.9133 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007962/1.303, allocations: 1.018 MB / 0.9143 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/1.318, allocations: 12.88 MB / 0.9269 GB, free: 56.62 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/1.32, allocations: 1.685 MB / 0.9285 GB, free: 54.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.006133/1.326, allocations: 0.5915 MB / 0.9291 GB, free: 54.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003442/1.329, allocations: 1.026 MB / 0.9301 GB, free: 53.29 MB / 0.6667 GB Notification: Performance of SimCode: time 1.342e-06/1.33, allocations: 0 / 0.9301 GB, free: 53.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.197/1.526, allocations: 64.53 MB / 0.9931 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004004/1.527, allocations: 258.3 kB / 0.9934 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/6.902, allocations: 0 / 0.9934 GB, free: 5.141 MB / 0.6823 GB