Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.819/1.819, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001123/0.001123, allocations: 178.2 kB / 371.8 MB, free: 10.3 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.596/1.596, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009253/0.0009251, allocations: 94.84 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 15.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.7219/0.9673, allocations: 109.3 MB / 1.086 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03939/1.007, allocations: 21.2 MB / 1.107 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007504/1.014, allocations: 109.1 kB / 1.107 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00751/1.022, allocations: 1.459 MB / 1.108 GB, free: 30.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02335/1.045, allocations: 4.073 MB / 1.112 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01433/1.06, allocations: 3.154 MB / 1.116 GB, free: 28.63 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02092/1.081, allocations: 5.085 MB / 1.12 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007026/1.088, allocations: 2.284 MB / 1.123 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008018/1.096, allocations: 2.435 MB / 1.125 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005611/1.101, allocations: 1.58 MB / 1.127 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/1.103, allocations: 132.1 kB / 1.127 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008948/1.112, allocations: 1.747 MB / 1.128 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001752/1.113, allocations: 0.5726 MB / 1.129 GB, free: 23.87 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/1.116, allocations: 0.7339 MB / 1.13 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009862/1.126, allocations: 4.581 MB / 1.134 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.126, allocations: 0 / 1.134 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/1.126, allocations: 0 / 1.134 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002247/1.126, allocations: 1.469 kB / 1.134 GB, free: 20.7 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01028/1.137, allocations: 3.362 MB / 1.137 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/1.137, allocations: 13.2 kB / 1.137 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00138/1.138, allocations: 323 kB / 1.138 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/1.149, allocations: 1.37 MB / 1.139 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007714/1.156, allocations: 2.697 MB / 1.142 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/1.157, allocations: 262.3 kB / 1.142 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009669/1.158, allocations: 235.4 kB / 1.142 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009382/1.167, allocations: 3.172 MB / 1.145 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/1.167, allocations: 6.688 kB / 1.145 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/1.168, allocations: 106.1 kB / 1.145 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/1.168, allocations: 67.23 kB / 1.146 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/1.178, allocations: 2.815 MB / 1.148 GB, free: 11.46 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.02388/1.202, allocations: 13.7 MB / 1.162 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/1.206, allocations: 1.434 MB / 1.163 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002177/1.208, allocations: 1.779 MB / 1.165 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003706/1.212, allocations: 1.156 MB / 1.166 GB, free: 12.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.124e-06/1.212, allocations: 4 kB / 1.166 GB, free: 12.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.03543/1.248, allocations: 9.715 MB / 1.175 GB, free: 5.387 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002997/1.248, allocations: 0.5821 MB / 1.176 GB, free: 4.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/1.253, allocations: 2.69 MB / 1.179 GB, free: 1.965 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000511/1.253, allocations: 65.7 kB / 1.179 GB, free: 1.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/1.254, allocations: 1.337 MB / 1.18 GB, free: 0.543 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/1.255, allocations: 455.3 kB / 1.18 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.255, allocations: 36 kB / 1.18 GB, free: 60 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.256, allocations: 377.8 kB / 1.181 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/1.259, allocations: 0.9485 MB / 1.182 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/1.263, allocations: 1.542 MB / 1.183 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/1.267, allocations: 1.083 MB / 1.184 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.267, allocations: 8 kB / 1.184 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01041/1.277, allocations: 3.093 MB / 1.187 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002069/1.279, allocations: 5.246 MB / 1.192 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/1.279, allocations: 12 kB / 1.192 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/1.282, allocations: 0.9306 MB / 1.193 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/1.285, allocations: 483.2 kB / 1.194 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/1.288, allocations: 2.194 MB / 1.196 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/1.294, allocations: 395.3 kB / 1.196 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/1.294, allocations: 103.9 kB / 1.196 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.294, allocations: 4 kB / 1.196 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009456/1.303, allocations: 2.813 MB / 1.199 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.303, allocations: 12 kB / 1.199 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/1.306, allocations: 0.9357 MB / 1.2 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/1.309, allocations: 475.2 kB / 1.201 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/1.312, allocations: 2.196 MB / 1.203 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004834/1.317, allocations: 367.3 kB / 1.203 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/1.317, allocations: 103.9 kB / 1.203 GB, free: 7.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001957/1.319, allocations: 0.7013 MB / 1.204 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.32, allocations: 288.5 kB / 1.204 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009095/1.329, allocations: 2.36 MB / 1.206 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.329, allocations: 19.94 kB / 1.206 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/1.329, allocations: 7.953 kB / 1.206 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007193/1.337, allocations: 1.982 MB / 1.208 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/1.354, allocations: 6.24 MB / 1.214 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/1.354, allocations: 16.08 kB / 1.215 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.356, allocations: 283.5 kB / 1.215 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/1.358, allocations: 0.7894 MB / 1.216 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.358, allocations: 51.94 kB / 1.216 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/1.361, allocations: 1.955 MB / 1.218 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/1.361, allocations: 8 kB / 1.218 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.374, allocations: 4.349 MB / 1.222 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002631/1.377, allocations: 0.6691 MB / 1.222 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008972/1.378, allocations: 39.98 kB / 1.222 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003667/1.381, allocations: 287.7 kB / 1.223 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/1.382, allocations: 120.7 kB / 1.223 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/1.382, allocations: 71.92 kB / 1.223 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003738/1.386, allocations: 1.89 MB / 1.225 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.072e-06/1.386, allocations: 0 / 1.225 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007669/1.393, allocations: 1.5 MB / 1.226 GB, free: 15.64 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0168/1.41, allocations: 7.282 MB / 1.233 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.422, allocations: 3.647 MB / 1.237 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/1.423, allocations: 448 / 1.237 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/1.426, allocations: 1.059 MB / 1.238 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008781/1.435, allocations: 1.5 MB / 1.239 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.457, allocations: 16.15 MB / 1.255 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.459, allocations: 1.779 MB / 1.257 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004126/1.463, allocations: 0.66 MB / 1.258 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/1.465, allocations: 1.171 MB / 1.259 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of SimCode: time 2.014e-06/1.465, allocations: 4 kB / 1.259 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/1.631, allocations: 94.44 MB / 1.351 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.631, allocations: 281.1 kB / 1.351 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.364/6.995, allocations: 0 / 1.351 GB, free: 15.41 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)