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.ScrollWaterToWater_TemperatureProtection.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.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",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.01219/0.0122, allocations: 106.9 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.001463/0.001464, allocations: 183.4 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.179/2.179, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.539/2.539, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004909, allocations: 12 kB / 0.587 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7314, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.1212/0.8527, allocations: 57.91 MB / 0.74 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03784/0.8906, allocations: 12.26 MB / 0.752 GB, free: 8.105 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003963/0.8946, allocations: 67.5 kB / 0.752 GB, free: 8.039 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.005564/0.9002, allocations: 0.785 MB / 0.7528 GB, free: 7.25 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.9143, allocations: 2.177 MB / 0.7549 GB, free: 5.066 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009427/0.9238, allocations: 1.796 MB / 0.7567 GB, free: 3.27 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008246/0.932, allocations: 2.761 MB / 0.7594 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.9356, allocations: 1.29 MB / 0.7606 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.9405, allocations: 1.304 MB / 0.7619 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.9433, allocations: 0.871 MB / 0.7627 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007211/0.944, allocations: 72 kB / 0.7628 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005989/0.95, allocations: 1.279 MB / 0.7641 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.9511, allocations: 318.7 kB / 0.7644 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.9525, allocations: 432.7 kB / 0.7648 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.9597, allocations: 2.7 MB / 0.7674 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9597, allocations: 3.938 kB / 0.7674 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.307e-06/0.9597, allocations: 0 / 0.7674 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001092/0.9599, allocations: 0 / 0.7674 GB, free: 8.191 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007255/0.9671, allocations: 2.077 MB / 0.7694 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.9672, allocations: 19.97 kB / 0.7695 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008038/0.968, allocations: 202.5 kB / 0.7697 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.9793, allocations: 0.7585 MB / 0.7704 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.9844, allocations: 1.561 MB / 0.7719 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.9847, allocations: 144.3 kB / 0.7721 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005898/0.9853, allocations: 136 kB / 0.7722 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008443/0.9938, allocations: 1.794 MB / 0.7739 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.291e-05/0.9939, allocations: 3.938 kB / 0.7739 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002848/0.9942, allocations: 56 kB / 0.774 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.366e-05/0.9943, allocations: 43.98 kB / 0.774 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/1.005, allocations: 1.602 MB / 0.7756 GB, free: 15.56 MB / 0.6042 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.02073/1.026, allocations: 7.538 MB / 0.783 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/1.03, allocations: 0.8541 MB / 0.7838 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/1.032, allocations: 1.278 MB / 0.785 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/1.033, allocations: 43.22 kB / 0.7851 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 6.702e-06/1.033, allocations: 4 kB / 0.7851 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.03509/1.068, allocations: 2.77 MB / 0.7878 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.068, allocations: 192.6 kB / 0.788 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/1.072, allocations: 1.383 MB / 0.7893 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003476/1.072, allocations: 49.7 kB / 0.7894 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/1.074, allocations: 0.7774 MB / 0.7901 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/1.074, allocations: 284.1 kB / 0.7904 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.074, allocations: 20 kB / 0.7904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.075, allocations: 341.9 kB / 0.7908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003643/1.078, allocations: 0.531 MB / 0.7913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/1.082, allocations: 0.8874 MB / 0.7921 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/1.086, allocations: 0.5924 MB / 0.7927 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/1.086, allocations: 4 kB / 0.7927 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01289/1.099, allocations: 1.735 MB / 0.7944 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001584/1.101, allocations: 3.288 MB / 0.7976 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/1.101, allocations: 8 kB / 0.7976 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/1.104, allocations: 475 kB / 0.7981 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/1.107, allocations: 271.5 kB / 0.7983 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/1.11, allocations: 1.002 MB / 0.7993 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/1.115, allocations: 298.4 kB / 0.7996 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004794/1.116, allocations: 55.97 kB / 0.7997 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.116, allocations: 5.25 kB / 0.7997 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0156/1.131, allocations: 1.574 MB / 0.8012 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/1.132, allocations: 8 kB / 0.8012 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.136, allocations: 477.5 kB / 0.8017 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005705/1.141, allocations: 271.5 kB / 0.8019 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/1.146, allocations: 0.9964 MB / 0.8029 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/1.161, allocations: 258.8 kB / 0.8031 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/1.164, allocations: 59.97 kB / 0.8032 GB, free: 2.125 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002069/1.166, allocations: 487.3 kB / 0.8037 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/1.167, allocations: 150.2 kB / 0.8038 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0268/1.194, allocations: 1.438 MB / 0.8052 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/1.194, allocations: 8 kB / 0.8052 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.194, allocations: 4 kB / 0.8052 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01335/1.207, allocations: 1.223 MB / 0.8064 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.223, allocations: 3.228 MB / 0.8096 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/1.224, allocations: 4 kB / 0.8096 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.225, allocations: 168 kB / 0.8097 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/1.229, allocations: 472.4 kB / 0.8102 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/1.229, allocations: 23.98 kB / 0.8102 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/1.232, allocations: 0.998 MB / 0.8112 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.232, allocations: 8.062 kB / 0.8112 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0239/1.256, allocations: 2.911 MB / 0.814 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.258, allocations: 410.9 kB / 0.8144 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005918/1.258, allocations: 32 kB / 0.8145 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/1.262, allocations: 170.5 kB / 0.8146 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/1.262, allocations: 104.2 kB / 0.8147 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.263, allocations: 39.97 kB / 0.8148 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003103/1.266, allocations: 0.9578 MB / 0.8157 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/1.266, allocations: 0 / 0.8157 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005096/1.271, allocations: 1.013 MB / 0.8167 GB, free: 3.832 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02715/1.298, allocations: 5.426 MB / 0.822 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.31, allocations: 1.967 MB / 0.8239 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.31, allocations: 4 kB / 0.8239 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003748/1.314, allocations: 0.6482 MB / 0.8245 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006574/1.32, allocations: 0.7341 MB / 0.8253 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.338, allocations: 10.01 MB / 0.835 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.34, allocations: 1.297 MB / 0.8363 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003581/1.343, allocations: 391.7 kB / 0.8367 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.345, allocations: 0.6281 MB / 0.8373 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of SimCode: time 1.593e-06/1.345, allocations: 0 / 0.8373 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/1.495, allocations: 50.64 MB / 0.8867 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000442/1.496, allocations: 282.4 kB / 0.887 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.927/6.423, allocations: 0 / 0.887 GB, free: 11.79 MB / 0.7136 GB