Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001181/0.001181, allocations: 181 kB / 377.1 MB, free: 1.551 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.807/1.807, allocations: 205.4 MB / 0.6366 GB, free: 8.574 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001067, allocations: 92.41 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 12 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.737/2.036, allocations: 423.6 MB / 1.402 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/2.036, allocations: 93.52 kB / 1.402 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.81/3.846, allocations: 0.5491 GB / 1.951 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.334e-06/3.846, allocations: 0 / 1.951 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001711/3.846, allocations: 47.69 kB / 1.951 GB, free: 128.1 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.005784/3.852, allocations: 2.108 MB / 1.953 GB, free: 126 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/3.852, allocations: 11.98 kB / 1.953 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003655/3.852, allocations: 181.4 kB / 1.954 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/3.857, allocations: 0.6701 MB / 1.954 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/3.862, allocations: 1.774 MB / 1.956 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/3.862, allocations: 128 kB / 1.956 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/3.862, allocations: 119.8 kB / 1.956 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/3.866, allocations: 1.644 MB / 1.958 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/3.866, allocations: 7.938 kB / 1.958 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/3.867, allocations: 60.47 kB / 1.958 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/3.867, allocations: 32 kB / 1.958 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/3.871, allocations: 1.493 MB / 1.959 GB, free: 119.7 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.01114/3.882, allocations: 7.1 MB / 1.966 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/3.885, allocations: 0.7847 MB / 1.967 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/3.886, allocations: 1.268 MB / 1.968 GB, free: 110 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/3.886, allocations: 47.12 kB / 1.968 GB, free: 110 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 3.055e-06/3.886, allocations: 0 / 1.968 GB, free: 110 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.02388/3.91, allocations: 3.74 MB / 1.972 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/3.91, allocations: 111.4 kB / 1.972 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/3.912, allocations: 1.27 MB / 1.973 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/3.913, allocations: 41.7 kB / 1.973 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/3.913, allocations: 0.6945 MB / 1.974 GB, free: 104 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/3.913, allocations: 229.2 kB / 1.974 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/3.914, allocations: 16 kB / 1.974 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001044/3.914, allocations: 338 kB / 1.975 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/3.916, allocations: 0.4938 MB / 1.975 GB, free: 103 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/3.918, allocations: 0.7905 MB / 1.976 GB, free: 102 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/3.92, allocations: 0.5369 MB / 1.976 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/3.92, allocations: 7.938 kB / 1.976 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005162/3.925, allocations: 1.567 MB / 1.978 GB, free: 99.92 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006644/3.925, allocations: 2.493 MB / 1.98 GB, free: 97.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/3.925, allocations: 8 kB / 1.98 GB, free: 97.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/3.927, allocations: 0.566 MB / 1.981 GB, free: 96.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/3.929, allocations: 239.6 kB / 1.981 GB, free: 96.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/3.931, allocations: 1.17 MB / 1.982 GB, free: 95.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/3.934, allocations: 278.5 kB / 1.983 GB, free: 95.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/3.934, allocations: 51.95 kB / 1.983 GB, free: 94.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/3.934, allocations: 4.781 kB / 1.983 GB, free: 94.96 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00483/3.939, allocations: 1.415 MB / 1.984 GB, free: 93.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/3.939, allocations: 11.98 kB / 1.984 GB, free: 93.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/3.941, allocations: 0.562 MB / 1.985 GB, free: 92.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/3.942, allocations: 247.6 kB / 1.985 GB, free: 92.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/3.944, allocations: 1.166 MB / 1.986 GB, free: 91.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/3.946, allocations: 242.7 kB / 1.986 GB, free: 91.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/3.946, allocations: 55.95 kB / 1.986 GB, free: 91.25 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.001085/3.947, allocations: 450.7 kB / 1.987 GB, free: 90.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/3.948, allocations: 142.3 kB / 1.987 GB, free: 90.66 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/3.952, allocations: 1.321 MB / 1.988 GB, free: 89.32 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/3.952, allocations: 7.984 kB / 1.988 GB, free: 89.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/3.952, allocations: 4 kB / 1.988 GB, free: 89.31 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003611/3.955, allocations: 1.182 MB / 1.989 GB, free: 88.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/3.964, allocations: 3.45 MB / 1.993 GB, free: 84.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/3.964, allocations: 0 / 1.993 GB, free: 84.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/3.965, allocations: 151.8 kB / 1.993 GB, free: 84.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/3.967, allocations: 0.5508 MB / 1.993 GB, free: 83.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/3.967, allocations: 27.97 kB / 1.993 GB, free: 83.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/3.969, allocations: 1.15 MB / 1.994 GB, free: 82.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/3.969, allocations: 7.938 kB / 1.994 GB, free: 82.56 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/3.973, allocations: 1.647 MB / 1.996 GB, free: 80.74 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/3.974, allocations: 398.8 kB / 1.996 GB, free: 80.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/3.975, allocations: 19.94 kB / 1.996 GB, free: 80.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/3.977, allocations: 147.8 kB / 1.997 GB, free: 80.18 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/3.977, allocations: 56.25 kB / 1.997 GB, free: 80.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/3.977, allocations: 47.95 kB / 1.997 GB, free: 80.07 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001629/3.978, allocations: 0.9927 MB / 1.998 GB, free: 79.08 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2e-07/3.978, allocations: 0 / 1.998 GB, free: 79.08 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003447/3.982, allocations: 0.9824 MB / 1.999 GB, free: 78.1 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.00657/3.988, allocations: 3.904 MB / 2.002 GB, free: 74.14 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006335/3.995, allocations: 1.826 MB / 2.004 GB, free: 72.32 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/3.995, allocations: 0 / 2.004 GB, free: 72.32 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/3.997, allocations: 0.5495 MB / 2.005 GB, free: 71.77 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/4.001, allocations: 0.7811 MB / 2.006 GB, free: 71 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/4.024, allocations: 13.48 MB / 2.019 GB, free: 57.02 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/4.025, allocations: 1.238 MB / 2.02 GB, free: 55.75 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002268/4.027, allocations: 331.9 kB / 2.02 GB, free: 55.43 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/4.028, allocations: 0.5539 MB / 2.021 GB, free: 54.87 MB / 0.9323 GB Notification: Performance of SimCode: time 2.976e-06/4.028, allocations: 0 / 2.021 GB, free: 54.87 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08767/4.115, allocations: 55.48 MB / 2.075 GB, free: 15.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/4.116, allocations: 255.9 kB / 2.075 GB, free: 15.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.645/8.761, allocations: 0 / 2.075 GB, free: 15.45 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)