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_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.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.01699/0.017, allocations: 107.5 kB / 15.06 MB, free: 6.035 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.002255/0.002254, allocations: 180.2 kB / 15.95 MB, free: 5.957 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.192/2.192, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.602/2.602, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006787/0.0006789, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7499, allocations: 98.71 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.1064/0.8564, allocations: 57.86 MB / 0.7399 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02945/0.8859, allocations: 12.28 MB / 0.7519 GB, free: 8.035 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.8896, allocations: 67.44 kB / 0.752 GB, free: 7.969 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.8942, allocations: 0.7889 MB / 0.7528 GB, free: 7.176 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.9057, allocations: 2.17 MB / 0.7549 GB, free: 5 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009222/0.915, allocations: 1.775 MB / 0.7566 GB, free: 3.227 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008215/0.9232, allocations: 2.67 MB / 0.7592 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.9265, allocations: 1.137 MB / 0.7603 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.9313, allocations: 1.249 MB / 0.7615 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.9339, allocations: 0.8049 MB / 0.7623 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007394/0.9347, allocations: 72 kB / 0.7624 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005843/0.9406, allocations: 1.268 MB / 0.7636 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0009161/0.9415, allocations: 282.8 kB / 0.7639 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.9427, allocations: 396.8 kB / 0.7643 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006646/0.9493, allocations: 2.455 MB / 0.7667 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.9494, allocations: 8 kB / 0.7667 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.846e-06/0.9494, allocations: 0 / 0.7667 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.34e-05/0.9495, allocations: 0 / 0.7667 GB, free: 8.844 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.006624/0.9562, allocations: 1.932 MB / 0.7686 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.9562, allocations: 8.031 kB / 0.7686 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006831/0.9569, allocations: 185.3 kB / 0.7688 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.9678, allocations: 0.7315 MB / 0.7695 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/0.9726, allocations: 1.452 MB / 0.7709 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.9729, allocations: 132 kB / 0.771 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.9734, allocations: 124 kB / 0.7711 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00762/0.9811, allocations: 1.609 MB / 0.7727 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/0.9812, allocations: 11.98 kB / 0.7727 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.9815, allocations: 48 kB / 0.7728 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-05/0.9816, allocations: 47.86 kB / 0.7728 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00993/0.9915, allocations: 1.484 MB / 0.7743 GB, free: 0.8477 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.01886/1.01, allocations: 6.95 MB / 0.781 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/1.014, allocations: 0.717 MB / 0.7817 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/1.016, allocations: 1.279 MB / 0.783 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.017, allocations: 39.12 kB / 0.783 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 6.523e-06/1.017, allocations: 3.984 kB / 0.783 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.03303/1.05, allocations: 2.678 MB / 0.7856 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/1.05, allocations: 111.4 kB / 0.7858 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/1.053, allocations: 1.32 MB / 0.787 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/1.054, allocations: 41.7 kB / 0.7871 GB, free: 3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.055, allocations: 0.7142 MB / 0.7878 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/1.055, allocations: 240.7 kB / 0.788 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.056, allocations: 20 kB / 0.788 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.056, allocations: 345.9 kB / 0.7884 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.059, allocations: 0.4938 MB / 0.7888 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/1.063, allocations: 0.8163 MB / 0.7896 GB, free: 232 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/1.067, allocations: 0.5653 MB / 0.7902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.067, allocations: 3.938 kB / 0.7902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.02333/1.09, allocations: 2.129 MB / 0.7923 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001562/1.092, allocations: 3.175 MB / 0.7954 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-05/1.092, allocations: 8 kB / 0.7954 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.095, allocations: 467.8 kB / 0.7958 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.098, allocations: 251.6 kB / 0.7961 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/1.101, allocations: 1.009 MB / 0.7971 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/1.105, allocations: 262.6 kB / 0.7973 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/1.105, allocations: 51.97 kB / 0.7974 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.105, allocations: 4 kB / 0.7974 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02264/1.128, allocations: 1.976 MB / 0.7993 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/1.128, allocations: 8 kB / 0.7993 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002948/1.131, allocations: 477.2 kB / 0.7997 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/1.134, allocations: 255.6 kB / 0.8 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/1.137, allocations: 1.004 MB / 0.801 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.141, allocations: 231.2 kB / 0.8012 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/1.141, allocations: 51.97 kB / 0.8012 GB, free: 4.07 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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.001423/1.142, allocations: 452.8 kB / 0.8017 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/1.143, allocations: 142.3 kB / 0.8018 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.153, allocations: 1.33 MB / 0.8031 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.153, allocations: 11.94 kB / 0.8031 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.153, allocations: 3.953 kB / 0.8031 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009338/1.163, allocations: 1.147 MB / 0.8042 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.176, allocations: 3.047 MB / 0.8072 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/1.176, allocations: 8 kB / 0.8072 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.178, allocations: 148 kB / 0.8074 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/1.181, allocations: 460.5 kB / 0.8078 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/1.181, allocations: 27.98 kB / 0.8078 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/1.184, allocations: 0.9906 MB / 0.8088 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/1.184, allocations: 8 kB / 0.8088 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.194, allocations: 2.335 MB / 0.8111 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.196, allocations: 383 kB / 0.8115 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/1.196, allocations: 23.98 kB / 0.8115 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.2, allocations: 147.8 kB / 0.8116 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/1.2, allocations: 76.14 kB / 0.8117 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.2, allocations: 31.98 kB / 0.8117 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002657/1.203, allocations: 0.9244 MB / 0.8126 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.82e-07/1.203, allocations: 0 / 0.8126 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004546/1.207, allocations: 0.9395 MB / 0.8135 GB, free: 6.906 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: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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.01349/1.221, allocations: 5.098 MB / 0.8185 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.232, allocations: 1.812 MB / 0.8203 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.232, allocations: 4.188 kB / 0.8203 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003207/1.235, allocations: 0.5296 MB / 0.8208 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006401/1.242, allocations: 0.7213 MB / 0.8215 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.257, allocations: 9.465 MB / 0.8308 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.258, allocations: 1.242 MB / 0.832 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003322/1.262, allocations: 376.4 kB / 0.8323 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.263, allocations: 0.5539 MB / 0.8329 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.923e-06/1.264, allocations: 7.875 kB / 0.8329 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1858/1.449, allocations: 47.84 MB / 0.8796 GB, free: 3.258 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004263/1.45, allocations: 280.5 kB / 0.8799 GB, free: 2.898 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.826/6.275, allocations: 0 / 0.8799 GB, free: 2.898 MB / 0.698 GB