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_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.01175/0.01175, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001344/0.001344, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.114/2.114, allocations: 194.5 MB / 211.2 MB, free: 10.98 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.359/2.359, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007912/0.0007914, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8236, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.1014/0.9251, allocations: 57.9 MB / 0.74 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02931/0.9545, allocations: 12.4 MB / 0.7521 GB, free: 7.957 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.9581, allocations: 63.56 kB / 0.7521 GB, free: 7.895 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.9627, allocations: 0.7889 MB / 0.7529 GB, free: 7.102 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.9739, allocations: 2.181 MB / 0.755 GB, free: 4.914 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009249/0.9832, allocations: 1.792 MB / 0.7568 GB, free: 3.121 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007737/0.9909, allocations: 2.674 MB / 0.7594 GB, free: 452 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.9939, allocations: 1.153 MB / 0.7605 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004434/0.9983, allocations: 1.265 MB / 0.7618 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/1.001, allocations: 0.8282 MB / 0.7626 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/1.001, allocations: 68 kB / 0.7626 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005374/1.007, allocations: 1.268 MB / 0.7639 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008207/1.007, allocations: 294.8 kB / 0.7642 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/1.008, allocations: 396.8 kB / 0.7645 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006356/1.015, allocations: 2.478 MB / 0.767 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.015, allocations: 0 / 0.767 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.106e-06/1.015, allocations: 4 kB / 0.767 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.375e-05/1.015, allocations: 0 / 0.767 GB, free: 8.652 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006325/1.021, allocations: 1.995 MB / 0.7689 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.021, allocations: 8.031 kB / 0.7689 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005284/1.022, allocations: 181.4 kB / 0.7691 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009488/1.031, allocations: 0.6925 MB / 0.7698 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/1.036, allocations: 1.46 MB / 0.7712 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/1.036, allocations: 140 kB / 0.7713 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/1.037, allocations: 120 kB / 0.7714 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006927/1.044, allocations: 1.613 MB / 0.773 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.808e-05/1.044, allocations: 7.938 kB / 0.773 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/1.044, allocations: 52 kB / 0.7731 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/1.044, allocations: 35.98 kB / 0.7731 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009099/1.053, allocations: 1.488 MB / 0.7746 GB, free: 0.625 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.01733/1.07, allocations: 6.932 MB / 0.7813 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/1.074, allocations: 0.7479 MB / 0.7821 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/1.076, allocations: 1.275 MB / 0.7833 GB, free: 7.043 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002961/1.079, allocations: 0.6183 MB / 0.7839 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=67): time 4.178e-06/1.079, allocations: 0 / 0.7839 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67): time 0.01914/1.098, allocations: 2.147 MB / 0.786 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/1.099, allocations: 376.2 kB / 0.7864 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/1.102, allocations: 1.352 MB / 0.7877 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/1.103, allocations: 45.7 kB / 0.7877 GB, free: 2.336 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/1.104, allocations: 0.7259 MB / 0.7884 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/1.104, allocations: 232.7 kB / 0.7887 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.105, allocations: 20 kB / 0.7887 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.105, allocations: 345.9 kB / 0.789 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/1.108, allocations: 0.5016 MB / 0.7895 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/1.112, allocations: 0.8411 MB / 0.7903 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003482/1.115, allocations: 0.5942 MB / 0.7909 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/1.115, allocations: 4 kB / 0.7909 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01373/1.129, allocations: 1.802 MB / 0.7927 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001658/1.131, allocations: 3.21 MB / 0.7958 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.156e-05/1.131, allocations: 8 kB / 0.7958 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/1.134, allocations: 355.8 kB / 0.7961 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.136, allocations: 271.5 kB / 0.7964 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.138, allocations: 0.9087 MB / 0.7973 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.143, allocations: 270.7 kB / 0.7975 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/1.143, allocations: 55.92 kB / 0.7976 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.143, allocations: 5.25 kB / 0.7976 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01657/1.16, allocations: 1.661 MB / 0.7992 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/1.16, allocations: 8.562 kB / 0.7992 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/1.163, allocations: 356.1 kB / 0.7996 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.167, allocations: 271.6 kB / 0.7998 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/1.17, allocations: 0.9028 MB / 0.8007 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005095/1.175, allocations: 242.8 kB / 0.8009 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/1.176, allocations: 55.91 kB / 0.801 GB, free: 4.285 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001822/1.177, allocations: 464.8 kB / 0.8014 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/1.178, allocations: 142.2 kB / 0.8016 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.191, allocations: 1.297 MB / 0.8028 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/1.191, allocations: 8 kB / 0.8029 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.191, allocations: 4 kB / 0.8029 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01172/1.203, allocations: 1.107 MB / 0.8039 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.22, allocations: 3.463 MB / 0.8073 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001099/1.221, allocations: 4 kB / 0.8073 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.224, allocations: 163.9 kB / 0.8075 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/1.226, allocations: 347.8 kB / 0.8078 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.226, allocations: 20.09 kB / 0.8078 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/1.228, allocations: 0.9028 MB / 0.8087 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/1.229, allocations: 11.95 kB / 0.8087 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.239, allocations: 2.319 MB / 0.811 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.24, allocations: 386.9 kB / 0.8114 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/1.241, allocations: 27.98 kB / 0.8114 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/1.244, allocations: 147.8 kB / 0.8115 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/1.244, allocations: 84.17 kB / 0.8116 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.244, allocations: 31.98 kB / 0.8116 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00281/1.247, allocations: 0.9329 MB / 0.8125 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.22e-07/1.247, allocations: 0 / 0.8125 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004941/1.252, allocations: 0.9513 MB / 0.8135 GB, free: 6.934 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/1.265, allocations: 5.115 MB / 0.8185 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.276, allocations: 1.958 MB / 0.8204 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.276, allocations: 8.312 kB / 0.8204 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003388/1.28, allocations: 0.5837 MB / 0.821 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006534/1.286, allocations: 0.71 MB / 0.8217 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/1.302, allocations: 9.508 MB / 0.8309 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.304, allocations: 1.249 MB / 0.8322 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00339/1.307, allocations: 379 kB / 0.8325 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.309, allocations: 0.5539 MB / 0.8331 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/1.309, allocations: 0 / 0.8331 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/1.455, allocations: 47.82 MB / 0.8798 GB, free: 3.066 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004126/1.456, allocations: 289.1 kB / 0.88 GB, free: 2.703 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.916/6.372, allocations: 0 / 0.88 GB, free: 2.703 MB / 0.698 GB