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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.737/2.737, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001476/0.001475, allocations: 181.9 kB / 370.8 MB, free: 10.87 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.166/2.166, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001588/0.001588, allocations: 89.41 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005044, allocations: 17.16 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.09145/0.34, allocations: 58.55 MB / 1.035 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.3681, allocations: 12.17 MB / 1.047 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.3712, allocations: 63.56 kB / 1.047 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.3757, allocations: 0.7889 MB / 1.048 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.386, allocations: 2.175 MB / 1.05 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009311/0.3953, allocations: 1.918 MB / 1.052 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007263/0.4026, allocations: 2.658 MB / 1.055 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.4057, allocations: 1.176 MB / 1.056 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.4103, allocations: 1.281 MB / 1.057 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.4128, allocations: 0.8244 MB / 1.058 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000472/0.4133, allocations: 68 kB / 1.058 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.4184, allocations: 1.17 MB / 1.059 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008856/0.4194, allocations: 310.8 kB / 1.059 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009344/0.4203, allocations: 404.8 kB / 1.06 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.4263, allocations: 2.447 MB / 1.062 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4264, allocations: 0 / 1.062 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.697e-06/0.4264, allocations: 0 / 1.062 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.498e-05/0.4265, allocations: 0 / 1.062 GB, free: 6.25 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.0106/0.4371, allocations: 1.978 MB / 1.064 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.4372, allocations: 12.03 kB / 1.064 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.4484, allocations: 0.6886 MB / 1.065 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.4529, allocations: 1.441 MB / 1.066 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.4531, allocations: 128 kB / 1.066 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.4535, allocations: 128 kB / 1.066 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007097/0.4606, allocations: 1.636 MB / 1.068 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.4608, allocations: 7.938 kB / 1.068 GB, free: 4 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.608/1.069, allocations: 47.42 kB / 1.068 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/1.069, allocations: 32.39 kB / 1.068 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009979/1.079, allocations: 1.496 MB / 1.07 GB, free: 90.18 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.01833/1.097, allocations: 7.029 MB / 1.076 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/1.102, allocations: 0.7885 MB / 1.077 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/1.104, allocations: 1.264 MB / 1.078 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003918/1.108, allocations: 0.6624 MB / 1.079 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.02e-06/1.108, allocations: 2.125 kB / 1.079 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01999/1.128, allocations: 2.155 MB / 1.081 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/1.128, allocations: 325.3 kB / 1.081 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/1.132, allocations: 1.422 MB / 1.083 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003278/1.133, allocations: 45.52 kB / 1.083 GB, free: 82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009325/1.134, allocations: 0.6964 MB / 1.084 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/1.134, allocations: 239.6 kB / 1.084 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.134, allocations: 15.91 kB / 1.084 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.135, allocations: 349 kB / 1.084 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/1.139, allocations: 0.5242 MB / 1.085 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/1.143, allocations: 0.8359 MB / 1.086 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/1.147, allocations: 0.5983 MB / 1.086 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/1.147, allocations: 5.156 kB / 1.086 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01492/1.162, allocations: 1.832 MB / 1.088 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005894/1.163, allocations: 2.514 MB / 1.09 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.163, allocations: 10.83 kB / 1.09 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/1.165, allocations: 372.6 kB / 1.091 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.168, allocations: 277.8 kB / 1.091 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/1.17, allocations: 0.9051 MB / 1.092 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004985/1.176, allocations: 298 kB / 1.092 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/1.176, allocations: 56.27 kB / 1.092 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.176, allocations: 4.656 kB / 1.092 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01406/1.19, allocations: 1.673 MB / 1.094 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.19, allocations: 6.656 kB / 1.094 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/1.192, allocations: 373.5 kB / 1.094 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/1.195, allocations: 273 kB / 1.094 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/1.197, allocations: 0.9036 MB / 1.095 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/1.202, allocations: 272.6 kB / 1.096 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/1.202, allocations: 59.39 kB / 1.096 GB, free: 74.49 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.001409/1.204, allocations: 462.4 kB / 1.096 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/1.204, allocations: 148.6 kB / 1.096 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/1.212, allocations: 1.264 MB / 1.097 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.212, allocations: 16.77 kB / 1.097 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.212, allocations: 4.531 kB / 1.097 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006852/1.219, allocations: 1.081 MB / 1.099 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.233, allocations: 3.358 MB / 1.102 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.381e-05/1.233, allocations: 9.094 kB / 1.102 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.235, allocations: 162.3 kB / 1.102 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/1.237, allocations: 367.2 kB / 1.102 GB, free: 71.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/1.238, allocations: 30.61 kB / 1.102 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/1.239, allocations: 0.8971 MB / 1.103 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.24, allocations: 7.906 kB / 1.103 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.25, allocations: 2.244 MB / 1.105 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.252, allocations: 409.9 kB / 1.106 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005852/1.252, allocations: 20.67 kB / 1.106 GB, free: 68.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003715/1.256, allocations: 160.5 kB / 1.106 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/1.257, allocations: 71.73 kB / 1.106 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.257, allocations: 39.27 kB / 1.106 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002926/1.26, allocations: 1.017 MB / 1.107 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/1.26, allocations: 0 / 1.107 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004735/1.264, allocations: 0.9107 MB / 1.108 GB, free: 68.1 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.001843/1.266, allocations: 0.5525 MB / 1.109 GB, free: 67.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.279, allocations: 2.016 MB / 1.111 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.279, allocations: 1.812 kB / 1.111 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00369/1.282, allocations: 0.5748 MB / 1.111 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006795/1.289, allocations: 0.7882 MB / 1.112 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/1.299, allocations: 3.14 MB / 1.115 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009582/1.3, allocations: 1.244 MB / 1.116 GB, free: 63.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003318/1.303, allocations: 381.9 kB / 1.116 GB, free: 62.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007283/1.304, allocations: 132.9 kB / 1.117 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/1.304, allocations: 1.312 kB / 1.117 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.0863/1.391, allocations: 36.95 MB / 1.153 GB, free: 31.6 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)