Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 179.3 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.5786 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008764, allocations: 95.83 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 11.22 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 106.3 MB / 0.9014 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.04724/0.2366, allocations: 68.27 MB / 0.9681 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.2584, allocations: 14.68 MB / 0.9825 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.2618, allocations: 59.62 kB / 0.9825 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.2646, allocations: 0.7498 MB / 0.9832 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00832/0.2729, allocations: 2.331 MB / 0.9855 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.2786, allocations: 1.808 MB / 0.9873 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008094/0.2867, allocations: 5.895 MB / 0.993 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.2892, allocations: 1.277 MB / 0.9943 GB, free: 444 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.2929, allocations: 1.462 MB / 0.9957 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.2953, allocations: 1.201 MB / 0.9969 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003271/0.2957, allocations: 68 kB / 0.997 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.3004, allocations: 1.83 MB / 0.9987 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.301, allocations: 334.4 kB / 0.9991 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.3025, allocations: 0.8957 MB / 0.9999 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.3069, allocations: 2.709 MB / 1.003 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.307, allocations: 0 / 1.003 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/0.307, allocations: 0 / 1.003 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.614e-05/0.307, allocations: 0 / 1.003 GB, free: 7.91 MB / 0.6511 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.004171/0.3112, allocations: 2.029 MB / 1.005 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3113, allocations: 11.97 kB / 1.005 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005001/0.3163, allocations: 0.6934 MB / 1.005 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.3194, allocations: 1.543 MB / 1.007 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.3196, allocations: 132 kB / 1.007 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.3199, allocations: 124 kB / 1.007 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.324, allocations: 1.648 MB / 1.009 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.3241, allocations: 0 / 1.009 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.3242, allocations: 52 kB / 1.009 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/0.3243, allocations: 32 kB / 1.009 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/0.3291, allocations: 1.496 MB / 1.01 GB, free: 15.92 MB / 0.6667 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.01099/0.3401, allocations: 6.993 MB / 1.017 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.3425, allocations: 0.795 MB / 1.018 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.3441, allocations: 0.5046 MB / 1.018 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.3456, allocations: 1.274 MB / 1.019 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/0.3475, allocations: 0.6636 MB / 1.02 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 3.096e-06/0.3475, allocations: 0 / 1.02 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.01023/0.3578, allocations: 2.174 MB / 1.022 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.358, allocations: 328.9 kB / 1.023 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.3603, allocations: 1.371 MB / 1.024 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.3606, allocations: 49.7 kB / 1.024 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/0.3612, allocations: 0.7036 MB / 1.025 GB, free: 276 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.3615, allocations: 240.5 kB / 1.025 GB, free: 32 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.3616, allocations: 20 kB / 1.025 GB, free: 12 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3618, allocations: 334 kB / 1.025 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.3637, allocations: 0.5289 MB / 1.026 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.3659, allocations: 0.8442 MB / 1.027 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/0.3697, allocations: 1.212 MB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3697, allocations: 3.938 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007607/0.3773, allocations: 1.848 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.3776, allocations: 306.5 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3776, allocations: 4 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.379, allocations: 350.8 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.3806, allocations: 283.5 kB / 1.03 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.3819, allocations: 0.905 MB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.3846, allocations: 290.6 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.3848, allocations: 59.95 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3848, allocations: 4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007111/0.3919, allocations: 1.685 MB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.392, allocations: 8 kB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.3932, allocations: 347 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.3947, allocations: 287.5 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.3959, allocations: 0.8997 MB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.3984, allocations: 268.9 kB / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.3986, allocations: 55.95 kB / 1.035 GB, free: 5.152 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 (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.0009028/0.3995, allocations: 452.8 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.3998, allocations: 146.2 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004084/0.4039, allocations: 1.274 MB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.4039, allocations: 11.94 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4039, allocations: 4 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003365/0.4073, allocations: 1.084 MB / 1.038 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007616/0.4149, allocations: 3.333 MB / 1.041 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.415, allocations: 4 kB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/0.416, allocations: 172 kB / 1.041 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.4172, allocations: 345 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/0.4173, allocations: 28.05 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.4185, allocations: 0.8979 MB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4185, allocations: 8 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.4243, allocations: 1.965 MB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000948/0.4253, allocations: 386.9 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.4256, allocations: 32.05 kB / 1.045 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.4272, allocations: 155.8 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4274, allocations: 68.23 kB / 1.045 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.4275, allocations: 39.89 kB / 1.045 GB, free: 10.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001647/0.4292, allocations: 0.9899 MB / 1.046 GB, free: 9.488 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4292, allocations: 0 / 1.046 GB, free: 9.488 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002586/0.4318, allocations: 0.9397 MB / 1.047 GB, free: 8.547 MB / 0.698 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.001396/0.4332, allocations: 0.6028 MB / 1.048 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006374/0.4396, allocations: 2.019 MB / 1.05 GB, free: 5.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.4396, allocations: 4 kB / 1.05 GB, free: 5.906 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.4415, allocations: 0.5526 MB / 1.05 GB, free: 5.352 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004774/0.4463, allocations: 0.81 MB / 1.051 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/0.4524, allocations: 3.337 MB / 1.054 GB, free: 1.121 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3477/0.8001, allocations: 1.204 MB / 1.055 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/0.8011, allocations: 158.5 kB / 1.056 GB, free: 144.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/0.8011, allocations: 0 / 1.056 GB, free: 144.6 MB / 0.698 GB Notification: Performance of Templates: time 0.06034/0.8615, allocations: 36.65 MB / 1.091 GB, free: 130.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)