Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.71/1.71, allocations: 285.4 MB / 298 MB, free: 5.961 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.001105/0.001105, allocations: 176.8 kB / 366.4 MB, free: 2.062 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.9/1.9, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009252/0.0009252, allocations: 98.64 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.819e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7933, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.842, allocations: 422.7 MB / 1.384 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/1.842, allocations: 94.78 kB / 1.384 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.63/3.472, allocations: 0.5477 GB / 1.932 GB, free: 63.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.375e-06/3.472, allocations: 0 / 1.932 GB, free: 63.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001454/3.473, allocations: 47.92 kB / 1.932 GB, free: 63.16 MB / 0.948 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.003482/3.476, allocations: 1.891 MB / 1.933 GB, free: 61.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/3.476, allocations: 15.97 kB / 1.933 GB, free: 61.18 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/3.476, allocations: 177.3 kB / 1.934 GB, free: 61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/3.48, allocations: 0.6105 MB / 1.934 GB, free: 60.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/3.484, allocations: 1.774 MB / 1.936 GB, free: 58.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/3.484, allocations: 132 kB / 1.936 GB, free: 58.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/3.484, allocations: 123.9 kB / 1.936 GB, free: 58.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/3.487, allocations: 1.436 MB / 1.938 GB, free: 56.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/3.487, allocations: 3.984 kB / 1.938 GB, free: 56.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/3.487, allocations: 52 kB / 1.938 GB, free: 56.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/3.487, allocations: 36 kB / 1.938 GB, free: 56.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/3.489, allocations: 1.094 MB / 1.939 GB, free: 55.57 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008779/3.497, allocations: 6.777 MB / 1.945 GB, free: 48.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/3.498, allocations: 0.5349 MB / 1.946 GB, free: 47.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/3.499, allocations: 338.4 kB / 1.946 GB, free: 47.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/3.5, allocations: 1.271 MB / 1.947 GB, free: 46.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000747/3.5, allocations: 0.5243 MB / 1.948 GB, free: 45.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.755e-06/3.5, allocations: 0 / 1.948 GB, free: 45.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001667/3.502, allocations: 0.8338 MB / 1.949 GB, free: 44.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/3.502, allocations: 491.3 kB / 1.949 GB, free: 44.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/3.504, allocations: 1.227 MB / 1.95 GB, free: 42.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/3.504, allocations: 49.64 kB / 1.951 GB, free: 42.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/3.504, allocations: 0.7151 MB / 1.951 GB, free: 42.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/3.505, allocations: 236.7 kB / 1.951 GB, free: 41.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/3.505, allocations: 20 kB / 1.951 GB, free: 41.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/3.505, allocations: 334 kB / 1.952 GB, free: 41.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/3.505, allocations: 329.9 kB / 1.952 GB, free: 41.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/3.506, allocations: 0.6369 MB / 1.953 GB, free: 40.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/3.507, allocations: 417.8 kB / 1.953 GB, free: 39.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/3.507, allocations: 0 / 1.953 GB, free: 39.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003527/3.51, allocations: 1.263 MB / 1.954 GB, free: 38.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007336/3.511, allocations: 2.525 MB / 1.957 GB, free: 36.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/3.511, allocations: 8 kB / 1.957 GB, free: 36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/3.512, allocations: 332.6 kB / 1.957 GB, free: 35.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/3.514, allocations: 267.5 kB / 1.957 GB, free: 35.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/3.514, allocations: 0.8476 MB / 1.958 GB, free: 34.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/3.517, allocations: 278.7 kB / 1.958 GB, free: 34.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/3.517, allocations: 63.94 kB / 1.959 GB, free: 34.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/3.517, allocations: 4 kB / 1.959 GB, free: 34.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002906/3.52, allocations: 1.106 MB / 1.96 GB, free: 33.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/3.52, allocations: 4 kB / 1.96 GB, free: 33.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/3.521, allocations: 333.1 kB / 1.96 GB, free: 32.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/3.522, allocations: 263.6 kB / 1.96 GB, free: 32.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006961/3.523, allocations: 0.8439 MB / 1.961 GB, free: 31.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/3.525, allocations: 258.8 kB / 1.961 GB, free: 31.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/3.526, allocations: 59.89 kB / 1.961 GB, free: 31.31 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002925/3.526, allocations: 164.7 kB / 1.961 GB, free: 31.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/3.526, allocations: 150.2 kB / 1.962 GB, free: 31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/3.529, allocations: 0.9352 MB / 1.963 GB, free: 30.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/3.529, allocations: 15.94 kB / 1.963 GB, free: 30.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/3.529, allocations: 3.938 kB / 1.963 GB, free: 30.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001894/3.531, allocations: 0.8226 MB / 1.963 GB, free: 29.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/3.536, allocations: 3.267 MB / 1.967 GB, free: 25.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/3.536, allocations: 4 kB / 1.967 GB, free: 25.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/3.537, allocations: 168 kB / 1.967 GB, free: 25.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009817/3.538, allocations: 312.7 kB / 1.967 GB, free: 25.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/3.538, allocations: 32.09 kB / 1.967 GB, free: 25.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006911/3.539, allocations: 0.8524 MB / 1.968 GB, free: 24.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/3.539, allocations: 4 kB / 1.968 GB, free: 24.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/3.542, allocations: 1.814 MB / 1.97 GB, free: 22.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/3.543, allocations: 394.8 kB / 1.97 GB, free: 21.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/3.543, allocations: 20 kB / 1.97 GB, free: 21.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/3.545, allocations: 151.8 kB / 1.97 GB, free: 21.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/3.545, allocations: 68.23 kB / 1.97 GB, free: 21.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-05/3.545, allocations: 39.97 kB / 1.97 GB, free: 21.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001517/3.547, allocations: 0.9811 MB / 1.971 GB, free: 20.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/3.547, allocations: 0 / 1.971 GB, free: 20.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003418/3.55, allocations: 1.002 MB / 1.972 GB, free: 19.68 MB / 0.948 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005094/3.556, allocations: 4.138 MB / 1.976 GB, free: 15.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002633/3.558, allocations: 1.467 MB / 1.978 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/3.558, allocations: 4 kB / 1.978 GB, free: 13.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007277/3.559, allocations: 421.2 kB / 1.978 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/3.563, allocations: 0.7838 MB / 1.979 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/3.57, allocations: 2.474 MB / 1.981 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/3.571, allocations: 1.249 MB / 1.983 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002691/3.574, allocations: 472 kB / 1.983 GB, free: 8.406 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007564/3.575, allocations: 0.5539 MB / 1.984 GB, free: 7.852 MB / 0.948 GB Notification: Performance of SimCode: time 1.452e-06/3.575, allocations: 0 / 1.984 GB, free: 7.852 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6582/4.233, allocations: 57.28 MB / 2.039 GB, free: 169.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/4.233, allocations: 256.7 kB / 2.04 GB, free: 169.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.024/8.257, allocations: 4.062 kB / 2.04 GB, free: 169.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)