Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.723/1.723, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.00117/0.00117, allocations: 183.7 kB / 371.8 MB, free: 10.25 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.884/1.884, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.001081/0.001081, allocations: 98.92 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 11.81 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.39, allocations: 422.6 MB / 1.392 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.39, allocations: 98.62 kB / 1.392 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.323/3.713, allocations: 0.549 GB / 1.941 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.875e-06/3.713, allocations: 0 / 1.941 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002916/3.714, allocations: 44.23 kB / 1.941 GB, free: 183.4 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.007104/3.721, allocations: 2.09 MB / 1.943 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/3.721, allocations: 15.28 kB / 1.943 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006453/3.721, allocations: 179.3 kB / 1.944 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/3.727, allocations: 0.6622 MB / 1.944 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004494/3.731, allocations: 1.791 MB / 1.946 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/3.731, allocations: 130.6 kB / 1.946 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/3.732, allocations: 116.8 kB / 1.946 GB, free: 180 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/3.736, allocations: 1.621 MB / 1.948 GB, free: 179 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/3.736, allocations: 8.625 kB / 1.948 GB, free: 179 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/3.737, allocations: 53.28 kB / 1.948 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/3.737, allocations: 33.22 kB / 1.948 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004866/3.741, allocations: 1.473 MB / 1.949 GB, free: 178.2 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.01135/3.753, allocations: 6.785 MB / 1.956 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/3.755, allocations: 0.6894 MB / 1.957 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/3.756, allocations: 1.269 MB / 1.958 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/3.756, allocations: 45.62 kB / 1.958 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.076e-06/3.756, allocations: 3.344 kB / 1.958 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.02888/3.785, allocations: 3.823 MB / 1.962 GB, free: 169 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/3.785, allocations: 107.3 kB / 1.962 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/3.788, allocations: 1.263 MB / 1.963 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/3.788, allocations: 44.94 kB / 1.963 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007747/3.789, allocations: 0.7054 MB / 1.964 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/3.79, allocations: 219.3 kB / 1.964 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/3.79, allocations: 17.22 kB / 1.964 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001039/3.79, allocations: 343.9 kB / 1.964 GB, free: 167 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/3.792, allocations: 0.4884 MB / 1.965 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/3.794, allocations: 0.7755 MB / 1.965 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/3.796, allocations: 0.5426 MB / 1.966 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/3.796, allocations: 0 / 1.966 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01271/3.809, allocations: 2.097 MB / 1.968 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006986/3.809, allocations: 2.498 MB / 1.97 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/3.809, allocations: 4 kB / 1.97 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/3.811, allocations: 490 kB / 1.971 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/3.813, allocations: 258.3 kB / 1.971 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.814, allocations: 1.001 MB / 1.972 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/3.817, allocations: 278 kB / 1.972 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/3.817, allocations: 55.94 kB / 1.973 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/3.817, allocations: 4 kB / 1.973 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01218/3.83, allocations: 1.944 MB / 1.974 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/3.83, allocations: 8 kB / 1.974 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/3.831, allocations: 485.8 kB / 1.975 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/3.833, allocations: 256.1 kB / 1.975 GB, free: 156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/3.834, allocations: 0.996 MB / 1.976 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/3.837, allocations: 238.6 kB / 1.976 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/3.837, allocations: 51.95 kB / 1.976 GB, free: 154.7 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 (86): * Single equations (assignments): 85 * 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.001244/3.839, allocations: 453.9 kB / 1.977 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/3.839, allocations: 142.2 kB / 1.977 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/3.844, allocations: 1.261 MB / 1.978 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/3.844, allocations: 8 kB / 1.978 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/3.844, allocations: 0 / 1.978 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003551/3.847, allocations: 1.119 MB / 1.979 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/3.856, allocations: 3.012 MB / 1.982 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/3.856, allocations: 4 kB / 1.982 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/3.857, allocations: 151.9 kB / 1.982 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/3.858, allocations: 486.3 kB / 1.983 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/3.858, allocations: 27.97 kB / 1.983 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/3.86, allocations: 0.997 MB / 1.984 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/3.86, allocations: 7.938 kB / 1.984 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/3.866, allocations: 2.168 MB / 1.986 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/3.867, allocations: 398.9 kB / 1.986 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005951/3.868, allocations: 20 kB / 1.986 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/3.87, allocations: 143.8 kB / 1.986 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/3.87, allocations: 60.25 kB / 1.987 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/3.87, allocations: 43.95 kB / 1.987 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002293/3.873, allocations: 1.009 MB / 1.988 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/3.873, allocations: 0 / 1.988 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004614/3.877, allocations: 0.9787 MB / 1.989 GB, free: 141.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (46): * Single equations (assignments): 43 * 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.009035/3.886, allocations: 4.528 MB / 1.993 GB, free: 137.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006471/3.893, allocations: 1.779 MB / 1.995 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/3.893, allocations: 3.188 kB / 1.995 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/3.895, allocations: 0.5141 MB / 1.995 GB, free: 135 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/3.899, allocations: 0.7874 MB / 1.996 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/3.927, allocations: 13.61 MB / 2.009 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000996/3.928, allocations: 1.238 MB / 2.01 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002465/3.93, allocations: 372.3 kB / 2.011 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/3.931, allocations: 0.5812 MB / 2.011 GB, free: 118 MB / 0.9323 GB Notification: Performance of SimCode: time 1.472e-06/3.931, allocations: 3.938 kB / 2.011 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09402/4.025, allocations: 55 MB / 2.065 GB, free: 63.97 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/4.026, allocations: 280.9 kB / 2.065 GB, free: 63.61 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/8.272, allocations: 0 / 2.065 GB, free: 63.61 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)