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.901/2.901, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001529/0.001529, allocations: 175.2 kB / 370.8 MB, free: 10.86 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.211/2.211, 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.001244/0.001244, allocations: 99.28 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005876/0.0005878, allocations: 13.91 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2435, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.09162/0.3351, allocations: 58.55 MB / 1.035 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02867/0.3639, allocations: 12.17 MB / 1.047 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003214/0.3671, allocations: 59.56 kB / 1.047 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004392/0.3716, allocations: 0.7811 MB / 1.048 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3827, allocations: 2.186 MB / 1.05 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009524/0.3922, allocations: 1.908 MB / 1.052 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007527/0.3998, allocations: 2.666 MB / 1.055 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.4028, allocations: 1.168 MB / 1.056 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.4072, allocations: 1.277 MB / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.4096, allocations: 0.8322 MB / 1.058 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.4101, allocations: 72 kB / 1.058 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005266/0.4153, allocations: 1.166 MB / 1.059 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008782/0.4163, allocations: 310.7 kB / 1.059 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009623/0.4172, allocations: 396.8 kB / 1.06 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006256/0.4235, allocations: 2.455 MB / 1.062 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4236, allocations: 4 kB / 1.062 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4236, allocations: 0 / 1.062 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.677e-05/0.4237, allocations: 0 / 1.062 GB, free: 6.117 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.006432/0.4301, allocations: 1.97 MB / 1.064 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.4302, allocations: 8.031 kB / 1.064 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/0.4307, allocations: 181.4 kB / 1.064 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009786/0.4405, allocations: 0.6886 MB / 1.065 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.4449, allocations: 1.449 MB / 1.066 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.4452, allocations: 128 kB / 1.067 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.4455, allocations: 120 kB / 1.067 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7055/1.151, allocations: 1.631 MB / 1.068 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-05/1.151, allocations: 5.469 kB / 1.068 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/1.152, allocations: 52.75 kB / 1.068 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/1.152, allocations: 35.12 kB / 1.068 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009997/1.162, allocations: 1.494 MB / 1.07 GB, free: 89.07 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.01864/1.18, allocations: 7.023 MB / 1.077 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/1.185, allocations: 0.7947 MB / 1.077 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/1.187, allocations: 1.265 MB / 1.079 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003895/1.191, allocations: 0.6723 MB / 1.079 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.14e-06/1.191, allocations: 0 / 1.079 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01989/1.211, allocations: 2.16 MB / 1.081 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.211, allocations: 327.8 kB / 1.082 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004186/1.215, allocations: 1.419 MB / 1.083 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003405/1.215, allocations: 46.59 kB / 1.083 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009358/1.216, allocations: 0.7038 MB / 1.084 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/1.217, allocations: 239.2 kB / 1.084 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.217, allocations: 20.09 kB / 1.084 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.217, allocations: 341.8 kB / 1.084 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/1.221, allocations: 0.5248 MB / 1.085 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/1.226, allocations: 0.8291 MB / 1.086 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/1.23, allocations: 0.6002 MB / 1.086 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/1.23, allocations: 5.125 kB / 1.086 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01504/1.245, allocations: 1.825 MB / 1.088 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006354/1.246, allocations: 2.524 MB / 1.091 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.246, allocations: 5.875 kB / 1.091 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/1.248, allocations: 363.6 kB / 1.091 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/1.251, allocations: 282.5 kB / 1.091 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.253, allocations: 0.9053 MB / 1.092 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.258, allocations: 289.6 kB / 1.092 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/1.259, allocations: 60.17 kB / 1.092 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.259, allocations: 3.5 kB / 1.092 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01432/1.273, allocations: 1.688 MB / 1.094 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/1.273, allocations: 6.891 kB / 1.094 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/1.276, allocations: 366.8 kB / 1.094 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.279, allocations: 276.8 kB / 1.095 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/1.281, allocations: 0.9009 MB / 1.096 GB, free: 73.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/1.285, allocations: 270 kB / 1.096 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.286, allocations: 55.72 kB / 1.096 GB, free: 73.4 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.001396/1.287, allocations: 466.4 kB / 1.096 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/1.288, allocations: 147.1 kB / 1.097 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008103/1.296, allocations: 1.279 MB / 1.098 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/1.296, allocations: 8.391 kB / 1.098 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.296, allocations: 1.5 kB / 1.098 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00695/1.303, allocations: 1.084 MB / 1.099 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/1.317, allocations: 3.347 MB / 1.102 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.317, allocations: 4.031 kB / 1.102 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.319, allocations: 170.3 kB / 1.102 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/1.321, allocations: 367.4 kB / 1.103 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.322, allocations: 26.56 kB / 1.103 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/1.323, allocations: 0.8982 MB / 1.104 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.323, allocations: 7.938 kB / 1.104 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.334, allocations: 2.241 MB / 1.106 GB, free: 68.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.336, allocations: 409.5 kB / 1.106 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/1.337, allocations: 30.05 kB / 1.106 GB, free: 67.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/1.341, allocations: 153.5 kB / 1.106 GB, free: 67.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/1.341, allocations: 72.11 kB / 1.106 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/1.341, allocations: 39.5 kB / 1.106 GB, free: 67.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003927/1.345, allocations: 1.016 MB / 1.107 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.62e-07/1.345, allocations: 1.281 kB / 1.107 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008914/1.354, allocations: 0.9154 MB / 1.108 GB, free: 66.95 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.01522/1.369, allocations: 4.41 MB / 1.113 GB, free: 63.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.382, allocations: 2.003 MB / 1.115 GB, free: 62.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/1.382, allocations: 2 kB / 1.115 GB, free: 62.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/1.386, allocations: 0.5755 MB / 1.115 GB, free: 62.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006934/1.393, allocations: 0.7879 MB / 1.116 GB, free: 62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.407, allocations: 8.239 MB / 1.124 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000987/1.408, allocations: 1.248 MB / 1.125 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003315/1.411, allocations: 377.9 kB / 1.125 GB, free: 53.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.413, allocations: 0.5751 MB / 1.126 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/1.413, allocations: 0 / 1.126 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/1.555, allocations: 49.86 MB / 1.175 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.556, allocations: 279.6 kB / 1.175 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.834/6.39, allocations: 3.125 kB / 1.175 GB, free: 7.98 MB / 0.6823 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)