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.682/1.682, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001367/0.001367, allocations: 181.3 kB / 371.6 MB, free: 3.348 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.795/1.795, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009177/0.0009177, allocations: 89.84 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.547e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.306, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.611/1.917, allocations: 423.7 MB / 1.394 GB, free: 258.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.917, allocations: 92.67 kB / 1.394 GB, free: 258.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.665/3.582, allocations: 0.5477 GB / 1.941 GB, free: 153.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/3.582, allocations: 0 / 1.941 GB, free: 153.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001584/3.582, allocations: 43.92 kB / 1.941 GB, free: 153.7 MB / 0.948 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.004284/3.587, allocations: 1.89 MB / 1.943 GB, free: 152.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/3.587, allocations: 11.3 kB / 1.943 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/3.591, allocations: 0.6123 MB / 1.944 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/3.595, allocations: 1.782 MB / 1.946 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/3.595, allocations: 129.3 kB / 1.946 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/3.595, allocations: 118.2 kB / 1.946 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/3.597, allocations: 1.436 MB / 1.947 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/3.598, allocations: 7.844 kB / 1.947 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/3.598, allocations: 51.23 kB / 1.947 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/3.598, allocations: 40.08 kB / 1.947 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/3.6, allocations: 1.096 MB / 1.948 GB, free: 149.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.009359/3.609, allocations: 6.778 MB / 1.955 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/3.61, allocations: 0.5379 MB / 1.956 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/3.61, allocations: 342.7 kB / 1.956 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/3.611, allocations: 1.264 MB / 1.957 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007252/3.612, allocations: 0.5268 MB / 1.958 GB, free: 141.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 2.735e-06/3.612, allocations: 0 / 1.958 GB, free: 141.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001636/3.614, allocations: 0.8487 MB / 1.958 GB, free: 140.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/3.614, allocations: 480.8 kB / 1.959 GB, free: 140.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/3.615, allocations: 1.234 MB / 1.96 GB, free: 139.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/3.616, allocations: 45.42 kB / 1.96 GB, free: 139.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/3.616, allocations: 0.7136 MB / 1.961 GB, free: 138.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/3.616, allocations: 231.3 kB / 1.961 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/3.616, allocations: 19.97 kB / 1.961 GB, free: 138.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/3.616, allocations: 337.9 kB / 1.961 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/3.617, allocations: 328.9 kB / 1.962 GB, free: 138.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/3.618, allocations: 0.642 MB / 1.962 GB, free: 137.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/3.618, allocations: 410.1 kB / 1.963 GB, free: 137.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/3.618, allocations: 3.375 kB / 1.963 GB, free: 137.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003158/3.621, allocations: 1.264 MB / 1.964 GB, free: 136.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004589/3.622, allocations: 2.516 MB / 1.966 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/3.622, allocations: 7.719 kB / 1.966 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/3.623, allocations: 332.3 kB / 1.967 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/3.624, allocations: 267.8 kB / 1.967 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000747/3.625, allocations: 0.8445 MB / 1.968 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/3.628, allocations: 290.1 kB / 1.968 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/3.628, allocations: 58.47 kB / 1.968 GB, free: 133.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/3.628, allocations: 10.27 kB / 1.968 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002924/3.631, allocations: 1.109 MB / 1.969 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/3.631, allocations: 6.188 kB / 1.969 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009686/3.632, allocations: 324.2 kB / 1.97 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/3.633, allocations: 264.6 kB / 1.97 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006775/3.634, allocations: 0.8521 MB / 1.971 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/3.636, allocations: 259.5 kB / 1.971 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/3.636, allocations: 56.08 kB / 1.971 GB, free: 131.4 MB / 0.948 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 () * 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.0003076/3.637, allocations: 166.4 kB / 1.971 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/3.637, allocations: 149.2 kB / 1.971 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/3.639, allocations: 0.9325 MB / 1.972 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/3.639, allocations: 13.41 kB / 1.972 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/3.639, allocations: 3 kB / 1.972 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/3.641, allocations: 0.8208 MB / 1.973 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/3.646, allocations: 3.275 MB / 1.976 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/3.646, allocations: 4 kB / 1.976 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/3.647, allocations: 163.4 kB / 1.976 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000949/3.648, allocations: 318.8 kB / 1.977 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/3.648, allocations: 26.41 kB / 1.977 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006775/3.649, allocations: 0.8455 MB / 1.977 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.649, allocations: 7.938 kB / 1.977 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/3.652, allocations: 1.819 MB / 1.979 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/3.653, allocations: 390.9 kB / 1.98 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/3.653, allocations: 20 kB / 1.98 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/3.655, allocations: 167.1 kB / 1.98 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/3.655, allocations: 60.3 kB / 1.98 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/3.655, allocations: 47.89 kB / 1.98 GB, free: 122.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001484/3.656, allocations: 0.9811 MB / 1.981 GB, free: 122 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/3.656, allocations: 4 kB / 1.981 GB, free: 122 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002969/3.659, allocations: 0.9904 MB / 1.982 GB, free: 121 MB / 0.948 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) * 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.001773/3.661, allocations: 0.8798 MB / 1.983 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002531/3.664, allocations: 1.474 MB / 1.984 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/3.664, allocations: 0 / 1.984 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000732/3.664, allocations: 418.4 kB / 1.985 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/3.668, allocations: 0.7908 MB / 1.985 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/3.673, allocations: 2.102 MB / 1.987 GB, free: 115.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/3.674, allocations: 1.244 MB / 1.989 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002295/3.676, allocations: 469.7 kB / 1.989 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/3.676, allocations: 103.4 kB / 1.989 GB, free: 113.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.123e-06/3.676, allocations: 0 / 1.989 GB, free: 113.5 MB / 0.948 GB Notification: Performance of Templates: time 0.06091/3.737, allocations: 42.99 MB / 2.031 GB, free: 71.05 MB / 0.948 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)