Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.2 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009069/0.0009071, allocations: 101.8 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004123, allocations: 15.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.373, allocations: 422.6 MB / 1.392 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.373, allocations: 96.08 kB / 1.392 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.39/3.763, allocations: 0.5491 GB / 1.941 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.295e-06/3.764, allocations: 7.375 kB / 1.941 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001613/3.764, allocations: 41.05 kB / 1.941 GB, free: 177.7 MB / 0.9323 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.005435/3.769, allocations: 2.107 MB / 1.944 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/3.769, allocations: 10.88 kB / 1.944 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003569/3.77, allocations: 176.4 kB / 1.944 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/3.775, allocations: 0.67 MB / 1.944 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/3.778, allocations: 1.78 MB / 1.946 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/3.779, allocations: 126.2 kB / 1.946 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/3.779, allocations: 122.9 kB / 1.946 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/3.783, allocations: 1.641 MB / 1.948 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/3.783, allocations: 7.156 kB / 1.948 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/3.783, allocations: 53.78 kB / 1.948 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/3.783, allocations: 46.28 kB / 1.948 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/3.788, allocations: 1.491 MB / 1.949 GB, free: 172.5 MB / 0.9323 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.01036/3.798, allocations: 7.063 MB / 1.956 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/3.8, allocations: 0.7817 MB / 1.957 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/3.801, allocations: 1.265 MB / 1.958 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/3.802, allocations: 49.97 kB / 1.958 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 4.097e-06/3.802, allocations: 0 / 1.958 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.02402/3.826, allocations: 3.743 MB / 1.962 GB, free: 163 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/3.826, allocations: 115.1 kB / 1.962 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/3.828, allocations: 1.265 MB / 1.963 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/3.828, allocations: 48.73 kB / 1.963 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/3.829, allocations: 0.6948 MB / 1.964 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/3.829, allocations: 227 kB / 1.964 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/3.829, allocations: 19.62 kB / 1.964 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/3.829, allocations: 337.8 kB / 1.965 GB, free: 161 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/3.831, allocations: 0.4964 MB / 1.965 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/3.833, allocations: 0.7873 MB / 1.966 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/3.835, allocations: 0.5466 MB / 1.966 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/3.835, allocations: 3.938 kB / 1.967 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0052/3.84, allocations: 1.566 MB / 1.968 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005832/3.841, allocations: 2.491 MB / 1.97 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/3.841, allocations: 8 kB / 1.97 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/3.843, allocations: 0.5767 MB / 1.971 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/3.844, allocations: 236 kB / 1.971 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/3.846, allocations: 1.177 MB / 1.972 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/3.849, allocations: 276.2 kB / 1.973 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/3.849, allocations: 55.94 kB / 1.973 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/3.849, allocations: 4 kB / 1.973 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004516/3.853, allocations: 1.41 MB / 1.974 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/3.853, allocations: 14.25 kB / 1.974 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/3.855, allocations: 0.5676 MB / 1.975 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/3.857, allocations: 234.9 kB / 1.975 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/3.858, allocations: 1.163 MB / 1.976 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/3.861, allocations: 247.4 kB / 1.976 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/3.861, allocations: 55.94 kB / 1.976 GB, free: 150.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (74): * Single equations (assignments): 73 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001025/3.862, allocations: 444.8 kB / 1.977 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/3.862, allocations: 142.3 kB / 1.977 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/3.866, allocations: 1.318 MB / 1.978 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/3.867, allocations: 12 kB / 1.978 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/3.867, allocations: 3.953 kB / 1.978 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003646/3.87, allocations: 1.19 MB / 1.979 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008551/3.879, allocations: 3.452 MB / 1.983 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/3.879, allocations: 4 kB / 1.983 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009285/3.88, allocations: 147.8 kB / 1.983 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/3.881, allocations: 0.553 MB / 1.983 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/3.882, allocations: 23.97 kB / 1.983 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/3.883, allocations: 1.166 MB / 1.985 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/3.883, allocations: 8 kB / 1.985 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/3.888, allocations: 1.643 MB / 1.986 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/3.889, allocations: 394.9 kB / 1.987 GB, free: 139.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000585/3.889, allocations: 20 kB / 1.987 GB, free: 139.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/3.892, allocations: 147.8 kB / 1.987 GB, free: 139 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/3.892, allocations: 56.27 kB / 1.987 GB, free: 139 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/3.892, allocations: 43.95 kB / 1.987 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002056/3.894, allocations: 1 MB / 1.988 GB, free: 137.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.5e-07/3.894, allocations: 0 / 1.988 GB, free: 137.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00418/3.898, allocations: 0.9786 MB / 1.989 GB, free: 137 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007195/3.905, allocations: 3.895 MB / 1.993 GB, free: 133 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006538/3.912, allocations: 1.826 MB / 1.994 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/3.912, allocations: 4 kB / 1.994 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/3.914, allocations: 0.5417 MB / 1.995 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/3.918, allocations: 0.7938 MB / 1.996 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/3.945, allocations: 13.49 MB / 2.009 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/3.946, allocations: 1.234 MB / 2.01 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002327/3.948, allocations: 330.9 kB / 2.01 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000928/3.949, allocations: 0.5616 MB / 2.011 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.072e-06/3.949, allocations: 4 kB / 2.011 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08489/4.034, allocations: 55.49 MB / 2.065 GB, free: 59.28 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/4.034, allocations: 271.5 kB / 2.065 GB, free: 58.92 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/8.002, allocations: 0 / 2.065 GB, free: 58.92 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)