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.672/1.672, allocations: 288.2 MB / 303.2 MB, free: 8.246 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.00149/0.00149, allocations: 165.1 kB / 371.8 MB, free: 10.29 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.728/1.728, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0009847/0.0009844, allocations: 99.56 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.000436, allocations: 15.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06084/0.3051, allocations: 58.56 MB / 1.037 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02495/0.3301, allocations: 12.17 MB / 1.049 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.3344, allocations: 59.56 kB / 1.049 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.3389, allocations: 0.785 MB / 1.049 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.3495, allocations: 2.192 MB / 1.052 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007568/0.3571, allocations: 1.906 MB / 1.053 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006925/0.364, allocations: 2.666 MB / 1.056 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.3672, allocations: 1.168 MB / 1.057 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/0.3716, allocations: 1.277 MB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.3745, allocations: 0.8283 MB / 1.059 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009557/0.3755, allocations: 68 kB / 1.059 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005597/0.3811, allocations: 1.174 MB / 1.06 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009831/0.3821, allocations: 310.7 kB / 1.061 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.3835, allocations: 404.8 kB / 1.061 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.3894, allocations: 2.447 MB / 1.063 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3895, allocations: 0 / 1.063 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3895, allocations: 0 / 1.063 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001334/0.3896, allocations: 0 / 1.063 GB, free: 5.422 MB / 0.6823 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.006056/0.3957, allocations: 1.97 MB / 1.065 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.709e-05/0.3958, allocations: 12.02 kB / 1.065 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007595/0.3965, allocations: 177.4 kB / 1.066 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005478/0.402, allocations: 0.6925 MB / 1.066 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.4062, allocations: 1.441 MB / 1.068 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.4065, allocations: 136 kB / 1.068 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.4069, allocations: 120 kB / 1.068 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5692/0.9761, allocations: 1.634 MB / 1.069 GB, free: 89.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.498e-05/0.9763, allocations: 3.688 kB / 1.069 GB, free: 89.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.9765, allocations: 55.59 kB / 1.07 GB, free: 89.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-05/0.9766, allocations: 34.38 kB / 1.07 GB, free: 89.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/0.9824, allocations: 1.494 MB / 1.071 GB, free: 89.42 MB / 0.6823 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.01316/0.9956, allocations: 7.021 MB / 1.078 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.9983, allocations: 0.7829 MB / 1.079 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.9996, allocations: 1.266 MB / 1.08 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002343/1.002, allocations: 0.6713 MB / 1.081 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.098e-06/1.002, allocations: 0 / 1.081 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01167/1.014, allocations: 2.156 MB / 1.083 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.014, allocations: 327 kB / 1.083 GB, free: 81.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/1.017, allocations: 1.419 MB / 1.084 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003271/1.017, allocations: 50.27 kB / 1.084 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/1.018, allocations: 0.6995 MB / 1.085 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/1.019, allocations: 246 kB / 1.085 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/1.019, allocations: 16.19 kB / 1.085 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.019, allocations: 342.8 kB / 1.086 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/1.021, allocations: 0.5185 MB / 1.086 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/1.023, allocations: 0.8348 MB / 1.087 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/1.026, allocations: 0.5983 MB / 1.088 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.026, allocations: 1.969 kB / 1.088 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.008674/1.035, allocations: 1.834 MB / 1.089 GB, free: 78.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007278/1.035, allocations: 2.516 MB / 1.092 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/1.035, allocations: 7.156 kB / 1.092 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/1.037, allocations: 368.2 kB / 1.092 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.039, allocations: 278 kB / 1.092 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/1.04, allocations: 0.9079 MB / 1.093 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.044, allocations: 302.1 kB / 1.094 GB, free: 75.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/1.044, allocations: 55.53 kB / 1.094 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.044, allocations: 5.312 kB / 1.094 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007726/1.052, allocations: 1.675 MB / 1.095 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/1.052, allocations: 6.375 kB / 1.095 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/1.053, allocations: 374.1 kB / 1.096 GB, free: 74.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.055, allocations: 277 kB / 1.096 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/1.056, allocations: 0.9082 MB / 1.097 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.059, allocations: 262.9 kB / 1.097 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/1.059, allocations: 54.27 kB / 1.097 GB, free: 73.71 MB / 0.6823 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 (98): * Single equations (assignments): 96 * 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.001158/1.06, allocations: 464.4 kB / 1.098 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/1.061, allocations: 147.8 kB / 1.098 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/1.065, allocations: 1.275 MB / 1.099 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.065, allocations: 7.688 kB / 1.099 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.065, allocations: 5.531 kB / 1.099 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003471/1.069, allocations: 1.082 MB / 1.1 GB, free: 72.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008687/1.077, allocations: 3.343 MB / 1.103 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.078, allocations: 4.688 kB / 1.103 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.079, allocations: 166.7 kB / 1.103 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/1.08, allocations: 362.9 kB / 1.104 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/1.08, allocations: 31.23 kB / 1.104 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.081, allocations: 0.9003 MB / 1.105 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.081, allocations: 8.312 kB / 1.105 GB, free: 69.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006568/1.088, allocations: 2.244 MB / 1.107 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.089, allocations: 414.1 kB / 1.107 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/1.09, allocations: 19.72 kB / 1.107 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.091, allocations: 158 kB / 1.107 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.091, allocations: 71.7 kB / 1.108 GB, free: 67.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/1.092, allocations: 43.2 kB / 1.108 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001847/1.093, allocations: 1.013 MB / 1.109 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/1.093, allocations: 0 / 1.109 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004149/1.098, allocations: 0.9164 MB / 1.109 GB, free: 66.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 46 * 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.007798/1.105, allocations: 4.414 MB / 1.114 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007099/1.113, allocations: 2.013 MB / 1.116 GB, free: 62.15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.113, allocations: 1.094 kB / 1.116 GB, free: 62.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/1.115, allocations: 0.5666 MB / 1.116 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/1.119, allocations: 0.7911 MB / 1.117 GB, free: 61.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/1.128, allocations: 8.241 MB / 1.125 GB, free: 54.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/1.129, allocations: 1.245 MB / 1.126 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002381/1.131, allocations: 381.2 kB / 1.127 GB, free: 53.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008458/1.132, allocations: 0.571 MB / 1.127 GB, free: 52.76 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/1.132, allocations: 0 / 1.127 GB, free: 52.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07816/1.21, allocations: 49.89 MB / 1.176 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/1.211, allocations: 299.6 kB / 1.176 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.925/5.136, allocations: 0 / 1.176 GB, free: 7.18 MB / 0.6823 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)