Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001235/0.001234, allocations: 173 kB / 377.1 MB, free: 1.531 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.776/1.776, allocations: 205.4 MB / 0.6367 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 97.67 kB / 0.751 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003768, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3643, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.721/2.086, allocations: 423.8 MB / 1.402 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/2.086, allocations: 94.44 kB / 1.402 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.805/3.891, allocations: 0.5494 GB / 1.952 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.633e-06/3.891, allocations: 0 / 1.952 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002906/3.892, allocations: 43.52 kB / 1.952 GB, free: 127.8 MB / 0.9323 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.007595/3.899, allocations: 2.15 MB / 1.954 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/3.899, allocations: 15.91 kB / 1.954 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/3.904, allocations: 0.6145 MB / 1.954 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/3.909, allocations: 1.799 MB / 1.956 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/3.909, allocations: 124 kB / 1.956 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005178/3.91, allocations: 120 kB / 1.956 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/3.915, allocations: 1.637 MB / 1.958 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/3.915, allocations: 4 kB / 1.958 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/3.915, allocations: 48 kB / 1.958 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/3.915, allocations: 42.7 kB / 1.958 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005026/3.92, allocations: 1.457 MB / 1.96 GB, free: 119.6 MB / 0.9323 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.01163/3.932, allocations: 6.787 MB / 1.966 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/3.934, allocations: 0.7264 MB / 1.967 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/3.935, allocations: 1.269 MB / 1.968 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001944/3.937, allocations: 0.6686 MB / 1.969 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 3.396e-06/3.937, allocations: 0 / 1.969 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.01112/3.949, allocations: 2.307 MB / 1.971 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/3.949, allocations: 483.2 kB / 1.971 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/3.952, allocations: 1.283 MB / 1.973 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000227/3.952, allocations: 45.7 kB / 1.973 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/3.953, allocations: 0.7068 MB / 1.973 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/3.953, allocations: 234.4 kB / 1.974 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/3.953, allocations: 16 kB / 1.974 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/3.953, allocations: 337.9 kB / 1.974 GB, free: 104 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/3.955, allocations: 0.4977 MB / 1.975 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/3.957, allocations: 0.8167 MB / 1.975 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/3.959, allocations: 0.5755 MB / 1.976 GB, free: 102 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/3.959, allocations: 0 / 1.976 GB, free: 102 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006876/3.966, allocations: 1.644 MB / 1.977 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005816/3.967, allocations: 2.525 MB / 1.98 GB, free: 97.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/3.967, allocations: 4 kB / 1.98 GB, free: 97.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/3.968, allocations: 373.7 kB / 1.98 GB, free: 97.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/3.97, allocations: 267.5 kB / 1.981 GB, free: 97.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/3.971, allocations: 0.8947 MB / 1.981 GB, free: 96.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003616/3.975, allocations: 298.4 kB / 1.982 GB, free: 95.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/3.975, allocations: 63.94 kB / 1.982 GB, free: 95.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/3.975, allocations: 4 kB / 1.982 GB, free: 95.77 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006568/3.981, allocations: 1.485 MB / 1.983 GB, free: 94.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/3.982, allocations: 8 kB / 1.983 GB, free: 94.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/3.983, allocations: 372.8 kB / 1.984 GB, free: 93.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/3.985, allocations: 259.6 kB / 1.984 GB, free: 93.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/3.986, allocations: 0.8969 MB / 1.985 GB, free: 92.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/3.989, allocations: 250.8 kB / 1.985 GB, free: 92.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/3.989, allocations: 67.81 kB / 1.985 GB, free: 92.41 MB / 0.9323 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 (90): * Single equations (assignments): 88 * 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.00167/3.991, allocations: 448.9 kB / 1.985 GB, free: 91.96 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007375/3.992, allocations: 154.2 kB / 1.986 GB, free: 91.81 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00526/3.997, allocations: 1.251 MB / 1.987 GB, free: 90.55 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/3.997, allocations: 11.95 kB / 1.987 GB, free: 90.54 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/3.997, allocations: 4 kB / 1.987 GB, free: 90.53 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004446/4.001, allocations: 1.127 MB / 1.988 GB, free: 89.37 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/4.012, allocations: 3.598 MB / 1.991 GB, free: 85.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/4.013, allocations: 4 kB / 1.991 GB, free: 85.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/4.014, allocations: 164 kB / 1.992 GB, free: 85.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/4.015, allocations: 370.2 kB / 1.992 GB, free: 85.14 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/4.015, allocations: 27.92 kB / 1.992 GB, free: 85.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/4.016, allocations: 0.8923 MB / 1.993 GB, free: 84.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/4.016, allocations: 4 kB / 1.993 GB, free: 84.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/4.023, allocations: 2.286 MB / 1.995 GB, free: 81.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/4.024, allocations: 391 kB / 1.995 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/4.025, allocations: 35.81 kB / 1.996 GB, free: 81.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/4.028, allocations: 151.7 kB / 1.996 GB, free: 81.09 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/4.028, allocations: 64.34 kB / 1.996 GB, free: 81.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/4.028, allocations: 39.91 kB / 1.996 GB, free: 80.99 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002611/4.031, allocations: 1.021 MB / 1.997 GB, free: 79.97 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.62e-07/4.031, allocations: 4 kB / 1.997 GB, free: 79.97 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004962/4.036, allocations: 0.9904 MB / 1.998 GB, free: 78.98 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (49): * Single equations (assignments): 44 * 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.002322/4.038, allocations: 0.8872 MB / 1.999 GB, free: 78.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006562/4.045, allocations: 1.925 MB / 2 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/4.045, allocations: 4 kB / 2 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/4.047, allocations: 0.5564 MB / 2.001 GB, free: 75.67 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/4.051, allocations: 0.7897 MB / 2.002 GB, free: 74.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/4.058, allocations: 3.143 MB / 2.005 GB, free: 71.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009785/4.059, allocations: 1.246 MB / 2.006 GB, free: 70.41 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002354/4.062, allocations: 383.8 kB / 2.006 GB, free: 70.03 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/4.062, allocations: 131.3 kB / 2.007 GB, free: 69.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/4.062, allocations: 4 kB / 2.007 GB, free: 69.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05735/4.119, allocations: 39.92 MB / 2.046 GB, free: 30.31 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)