Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009049/0.009049, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.419/2.419, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 17.39 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2577, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.066/0.3237, allocations: 68.3 MB / 1.125 GB, free: 380 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.3433, allocations: 14.53 MB / 1.14 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.3453, allocations: 59.62 kB / 1.14 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.3474, allocations: 0.7498 MB / 1.14 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005952/0.3533, allocations: 2.371 MB / 1.143 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3576, allocations: 1.787 MB / 1.145 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006209/0.3638, allocations: 5.95 MB / 1.15 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.3658, allocations: 1.297 MB / 1.152 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.3685, allocations: 1.447 MB / 1.153 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.3703, allocations: 1.201 MB / 1.154 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.3706, allocations: 72 kB / 1.154 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.374, allocations: 1.735 MB / 1.156 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.3745, allocations: 326.5 kB / 1.156 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.3757, allocations: 0.9151 MB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.3797, allocations: 3.372 MB / 1.16 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3797, allocations: 4 kB / 1.16 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3797, allocations: 0 / 1.16 GB, free: 12.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.3797, allocations: 0 / 1.16 GB, free: 12.45 MB / 0.92 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.003479/0.3832, allocations: 1.997 MB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3832, allocations: 12.03 kB / 1.162 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000223/0.3835, allocations: 177.6 kB / 1.163 GB, free: 10.19 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.3886, allocations: 0.6973 MB / 1.163 GB, free: 9.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.3909, allocations: 1.565 MB / 1.165 GB, free: 7.867 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.391, allocations: 132 kB / 1.165 GB, free: 7.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.3912, allocations: 119.9 kB / 1.165 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.395, allocations: 1.664 MB / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3951, allocations: 0 / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.3952, allocations: 51.98 kB / 1.167 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.3953, allocations: 40 kB / 1.167 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.4, allocations: 1.499 MB / 1.168 GB, free: 4.262 MB / 0.92 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.009229/0.4092, allocations: 6.999 MB / 1.175 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.4115, allocations: 0.7796 MB / 1.176 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.4132, allocations: 0.5061 MB / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.4145, allocations: 1.274 MB / 1.178 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/0.4165, allocations: 0.6675 MB / 1.178 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 3.837e-06/0.4165, allocations: 4 kB / 1.178 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.01062/0.4271, allocations: 2.177 MB / 1.18 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.4273, allocations: 332.9 kB / 1.181 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.4296, allocations: 1.387 MB / 1.182 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4297, allocations: 45.7 kB / 1.182 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/0.4303, allocations: 0.7036 MB / 1.183 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.4306, allocations: 240.5 kB / 1.183 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.4307, allocations: 85.67 kB / 1.183 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4309, allocations: 345.9 kB / 1.183 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.4329, allocations: 0.5211 MB / 1.184 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.4352, allocations: 0.8374 MB / 1.185 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.439, allocations: 1.212 MB / 1.186 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.439, allocations: 0 / 1.186 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006836/0.4459, allocations: 1.689 MB / 1.188 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.4462, allocations: 316.5 kB / 1.188 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.4463, allocations: 8 kB / 1.188 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.4478, allocations: 377.7 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.4493, allocations: 279.5 kB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.4505, allocations: 0.9012 MB / 1.189 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.453, allocations: 286.6 kB / 1.19 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4532, allocations: 55.94 kB / 1.19 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.4532, allocations: 4 kB / 1.19 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006108/0.4593, allocations: 1.536 MB / 1.191 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4593, allocations: 4.5 kB / 1.191 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.4606, allocations: 377 kB / 1.192 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4621, allocations: 279.5 kB / 1.192 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.4632, allocations: 0.9091 MB / 1.193 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4655, allocations: 250.8 kB / 1.193 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4656, allocations: 63.94 kB / 1.193 GB, free: 9.684 MB / 0.9512 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0007475/0.4664, allocations: 461.3 kB / 1.193 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.4667, allocations: 146.2 kB / 1.194 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.4709, allocations: 1.275 MB / 1.195 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.4709, allocations: 8 kB / 1.195 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4709, allocations: 0 / 1.195 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003568/0.4745, allocations: 1.088 MB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/0.4817, allocations: 3.342 MB / 1.199 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4817, allocations: 4 kB / 1.199 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/0.4827, allocations: 167.7 kB / 1.199 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.4839, allocations: 374.3 kB / 1.2 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.484, allocations: 32.03 kB / 1.2 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.4852, allocations: 0.9012 MB / 1.201 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4852, allocations: 7.938 kB / 1.201 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/0.4909, allocations: 1.965 MB / 1.202 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/0.4915, allocations: 394.8 kB / 1.203 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.4918, allocations: 27.98 kB / 1.203 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.4936, allocations: 155.8 kB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.4938, allocations: 72.23 kB / 1.203 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.4938, allocations: 39.95 kB / 1.203 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001565/0.4954, allocations: 0.994 MB / 1.204 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4954, allocations: 7.938 kB / 1.204 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002313/0.4977, allocations: 0.9007 MB / 1.205 GB, free: 13.05 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007215/0.505, allocations: 2.959 MB / 1.208 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006775/0.5118, allocations: 2.007 MB / 1.21 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.5118, allocations: 7.938 kB / 1.21 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.5138, allocations: 0.5721 MB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/0.5189, allocations: 0.8104 MB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.5513, allocations: 13.81 MB / 1.225 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.5522, allocations: 1.215 MB / 1.226 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001763/0.554, allocations: 379 kB / 1.226 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/0.5549, allocations: 0.5859 MB / 1.227 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/0.5549, allocations: 7.938 kB / 1.227 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.694/8.249, allocations: 50.67 MB / 1.276 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/8.25, allocations: 319.1 kB / 1.277 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/11.31, allocations: 0 / 1.277 GB, free: 173.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)