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: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00937/0.009375, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001131/0.001131, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 1.931/1.931, allocations: 194.6 MB / 211.3 MB, free: 11.32 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.27/2.27, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.000483, allocations: 19.98 kB / 0.5869 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5649, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.07813/0.643, allocations: 57.89 MB / 0.7399 GB, free: 4.445 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02337/0.6665, allocations: 12.28 MB / 0.7519 GB, free: 8.148 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.669, allocations: 67.5 kB / 0.7519 GB, free: 8.082 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.6721, allocations: 0.785 MB / 0.7527 GB, free: 7.293 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008406/0.6805, allocations: 2.181 MB / 0.7548 GB, free: 5.105 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00712/0.6876, allocations: 1.792 MB / 0.7566 GB, free: 3.312 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006065/0.6937, allocations: 2.753 MB / 0.7593 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.6962, allocations: 1.294 MB / 0.7605 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.6995, allocations: 1.3 MB / 0.7618 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.7011, allocations: 0.8748 MB / 0.7626 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.7014, allocations: 72 kB / 0.7627 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.7054, allocations: 1.276 MB / 0.764 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.7059, allocations: 318.7 kB / 0.7643 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.7067, allocations: 432.7 kB / 0.7647 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.7118, allocations: 2.696 MB / 0.7673 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.318e-06/0.7118, allocations: 0 / 0.7673 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.027e-06/0.7118, allocations: 4 kB / 0.7673 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.212e-05/0.7119, allocations: 0 / 0.7673 GB, free: 8.246 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.004974/0.7169, allocations: 2.089 MB / 0.7694 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7169, allocations: 12.03 kB / 0.7694 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/0.7235, allocations: 0.7507 MB / 0.7701 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.7274, allocations: 1.569 MB / 0.7716 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.7276, allocations: 136.4 kB / 0.7718 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.728, allocations: 140 kB / 0.7719 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005569/0.7335, allocations: 1.797 MB / 0.7736 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.7336, allocations: 7.938 kB / 0.7737 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.7338, allocations: 56 kB / 0.7737 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.7339, allocations: 36 kB / 0.7737 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/0.7405, allocations: 1.61 MB / 0.7753 GB, free: 15.82 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.01468/0.7552, allocations: 7.526 MB / 0.7827 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.7582, allocations: 0.8658 MB / 0.7835 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/0.7599, allocations: 1.275 MB / 0.7848 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.76, allocations: 43.22 kB / 0.7848 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 4.25e-06/0.76, allocations: 3.938 kB / 0.7848 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.01955/0.7795, allocations: 2.774 MB / 0.7875 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.7797, allocations: 192.6 kB / 0.7877 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.7826, allocations: 1.387 MB / 0.789 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.7828, allocations: 57.7 kB / 0.7891 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009057/0.7837, allocations: 0.7733 MB / 0.7899 GB, free: 172 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.7842, allocations: 276.3 kB / 0.7901 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.7843, allocations: 24 kB / 0.7901 GB, free: 15.87 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.7845, allocations: 341.9 kB / 0.7905 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.7868, allocations: 0.5257 MB / 0.791 GB, free: 15 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.7895, allocations: 0.8873 MB / 0.7918 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.7918, allocations: 0.5924 MB / 0.7924 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.7919, allocations: 4 kB / 0.7924 GB, free: 13.37 MB / 0.6199 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00785/0.7997, allocations: 1.738 MB / 0.7941 GB, free: 11.62 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.00168/0.8014, allocations: 3.295 MB / 0.7973 GB, free: 8.141 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.8015, allocations: 8 kB / 0.7974 GB, free: 8.133 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.8039, allocations: 479 kB / 0.7978 GB, free: 7.668 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.8057, allocations: 271.5 kB / 0.7981 GB, free: 7.402 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.808, allocations: 0.9934 MB / 0.799 GB, free: 6.383 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.8107, allocations: 290.5 kB / 0.7993 GB, free: 6.098 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.8109, allocations: 51.98 kB / 0.7994 GB, free: 6.047 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.811, allocations: 4 kB / 0.7994 GB, free: 6.043 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007338/0.8183, allocations: 1.578 MB / 0.8009 GB, free: 4.457 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.8184, allocations: 11.95 kB / 0.8009 GB, free: 4.445 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/0.8205, allocations: 472.3 kB / 0.8014 GB, free: 3.984 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.8223, allocations: 279.5 kB / 0.8016 GB, free: 3.711 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.8245, allocations: 0.9895 MB / 0.8026 GB, free: 2.695 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.827, allocations: 259.1 kB / 0.8029 GB, free: 2.441 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.8272, allocations: 51.98 kB / 0.8029 GB, free: 2.391 MB / 0.6199 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.001107/0.8283, allocations: 498 kB / 0.8034 GB, free: 1.895 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.8286, allocations: 150.2 kB / 0.8035 GB, free: 1.746 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/0.8354, allocations: 1.435 MB / 0.8049 GB, free: 300 kB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.8355, allocations: 12 kB / 0.8049 GB, free: 288 kB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.34e-06/0.8355, allocations: 0 / 0.8049 GB, free: 288 kB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006282/0.8418, allocations: 1.223 MB / 0.8061 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009702/0.8515, allocations: 3.232 MB / 0.8093 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.8516, allocations: 4 kB / 0.8093 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.8528, allocations: 172 kB / 0.8095 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.855, allocations: 468.1 kB / 0.8099 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.8551, allocations: 31.98 kB / 0.8099 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.8573, allocations: 0.998 MB / 0.8109 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.282e-06/0.8574, allocations: 4 kB / 0.8109 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.8712, allocations: 2.915 MB / 0.8138 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.8724, allocations: 414.8 kB / 0.8141 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.8727, allocations: 24 kB / 0.8142 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.8747, allocations: 172.1 kB / 0.8143 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.8749, allocations: 96.33 kB / 0.8144 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.875, allocations: 39.97 kB / 0.8145 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00214/0.8772, allocations: 0.9616 MB / 0.8154 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.67e-07/0.8772, allocations: 0 / 0.8154 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003405/0.8806, allocations: 1.009 MB / 0.8164 GB, free: 4.09 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.001583/0.8822, allocations: 0.6207 MB / 0.817 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007551/0.8898, allocations: 1.968 MB / 0.8189 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.592e-06/0.8899, allocations: 0 / 0.8189 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.8924, allocations: 0.6552 MB / 0.8196 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/0.8965, allocations: 0.7288 MB / 0.8203 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.9044, allocations: 3.471 MB / 0.8237 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.9058, allocations: 1.297 MB / 0.8249 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002782/0.9086, allocations: 390.5 kB / 0.8253 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.9091, allocations: 127.4 kB / 0.8254 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.618e-06/0.9091, allocations: 4 kB / 0.8254 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.0854/0.9945, allocations: 36.83 MB / 0.8614 GB, free: 6.281 MB / 0.6824 GB