Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.621/2.621, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001667/0.001666, allocations: 182.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001255/0.001254, allocations: 102.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004831, allocations: 15.47 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.58, allocations: 422.7 MB / 1.391 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/1.58, allocations: 96.89 kB / 1.391 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.353/4.933, allocations: 0.5494 GB / 1.94 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.156e-06/4.933, allocations: 0.9375 kB / 1.94 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003153/4.933, allocations: 44.92 kB / 1.941 GB, free: 184.5 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.009494/4.943, allocations: 2.167 MB / 1.943 GB, free: 183 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/4.943, allocations: 7.719 kB / 1.943 GB, free: 183 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009094/4.944, allocations: 179.4 kB / 1.943 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008579/4.953, allocations: 0.6156 MB / 1.943 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006266/4.959, allocations: 1.797 MB / 1.945 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/4.959, allocations: 120.4 kB / 1.945 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000552/4.96, allocations: 126.8 kB / 1.945 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007231/4.967, allocations: 1.626 MB / 1.947 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/4.967, allocations: 3.656 kB / 1.947 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/4.967, allocations: 60.7 kB / 1.947 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/4.967, allocations: 37.73 kB / 1.947 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009287/4.977, allocations: 1.456 MB / 1.949 GB, free: 179.4 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.01801/4.995, allocations: 6.759 MB / 1.955 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/4.999, allocations: 0.7321 MB / 1.956 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/5.001, allocations: 1.274 MB / 1.957 GB, free: 172 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/5.005, allocations: 0.6759 MB / 1.958 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 4.99e-06/5.005, allocations: 3.5 kB / 1.958 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.02146/5.026, allocations: 2.3 MB / 1.96 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/5.026, allocations: 481.4 kB / 1.96 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/5.03, allocations: 1.283 MB / 1.962 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003389/5.03, allocations: 44.77 kB / 1.962 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009739/5.031, allocations: 0.71 MB / 1.962 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/5.032, allocations: 230.1 kB / 1.963 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/5.032, allocations: 15.97 kB / 1.963 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001031/5.032, allocations: 341.8 kB / 1.963 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003732/5.036, allocations: 0.4993 MB / 1.963 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/5.04, allocations: 0.8183 MB / 1.964 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/5.044, allocations: 0.5778 MB / 1.965 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/5.044, allocations: 3.031 kB / 1.965 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01254/5.057, allocations: 1.64 MB / 1.966 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005948/5.058, allocations: 2.528 MB / 1.969 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/5.058, allocations: 6.875 kB / 1.969 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/5.06, allocations: 365.3 kB / 1.969 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/5.063, allocations: 273.5 kB / 1.97 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/5.065, allocations: 0.8955 MB / 1.97 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/5.07, allocations: 285.7 kB / 1.971 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/5.07, allocations: 62.91 kB / 1.971 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/5.07, allocations: 7.938 kB / 1.971 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01152/5.082, allocations: 1.484 MB / 1.972 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/5.082, allocations: 4 kB / 1.972 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/5.084, allocations: 376.6 kB / 1.973 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/5.087, allocations: 264.3 kB / 1.973 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/5.089, allocations: 0.8978 MB / 1.974 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/5.093, allocations: 251.7 kB / 1.974 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003911/5.094, allocations: 59.94 kB / 1.974 GB, free: 158 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: 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 () * Number of clocked 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.001484/5.095, allocations: 458.7 kB / 1.974 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/5.096, allocations: 150.2 kB / 1.975 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009553/5.105, allocations: 1.257 MB / 1.976 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/5.106, allocations: 11.03 kB / 1.976 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/5.106, allocations: 4 kB / 1.976 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008652/5.114, allocations: 1.138 MB / 1.977 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/5.129, allocations: 3.589 MB / 1.98 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/5.129, allocations: 7.953 kB / 1.98 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/5.131, allocations: 159.7 kB / 1.981 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/5.133, allocations: 365.2 kB / 1.981 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/5.133, allocations: 27.19 kB / 1.981 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/5.135, allocations: 0.8988 MB / 1.982 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/5.135, allocations: 7.812 kB / 1.982 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/5.148, allocations: 2.287 MB / 1.984 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/5.15, allocations: 387 kB / 1.984 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007412/5.15, allocations: 19.98 kB / 1.984 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003871/5.154, allocations: 150.4 kB / 1.985 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/5.155, allocations: 70.42 kB / 1.985 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/5.155, allocations: 35.95 kB / 1.985 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0031/5.158, allocations: 1.027 MB / 1.986 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/5.158, allocations: 3.938 kB / 1.986 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006004/5.164, allocations: 0.9981 MB / 1.987 GB, free: 144.7 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * 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.0157/5.18, allocations: 4.589 MB / 1.991 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01199/5.192, allocations: 1.933 MB / 1.993 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/5.192, allocations: 0 / 1.993 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/5.195, allocations: 0.5525 MB / 1.994 GB, free: 137.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007031/5.203, allocations: 0.788 MB / 1.994 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04018/5.243, allocations: 13.73 MB / 2.008 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/5.244, allocations: 1.238 MB / 2.009 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003365/5.247, allocations: 389.3 kB / 2.009 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/5.249, allocations: 0.5734 MB / 2.01 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/5.249, allocations: 0 / 2.01 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/5.384, allocations: 55.01 MB / 2.064 GB, free: 66.63 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/5.384, allocations: 277 kB / 2.064 GB, free: 66.27 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.277/10.66, allocations: 0 / 2.064 GB, free: 66.27 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)