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.598/1.598, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001041/0.001041, allocations: 169 kB / 366.7 MB, free: 1.688 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.649/1.649, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008679/0.0008678, allocations: 96.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.458e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7304, allocations: 116.3 MB / 0.9732 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.882, allocations: 423.1 MB / 1.386 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.882, allocations: 90.64 kB / 1.386 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.629/3.511, allocations: 0.545 GB / 1.931 GB, free: 61.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/3.511, allocations: 7.938 kB / 1.931 GB, free: 61.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002306/3.511, allocations: 39.94 kB / 1.931 GB, free: 61.38 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.00518/3.516, allocations: 1.891 MB / 1.933 GB, free: 59.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/3.517, allocations: 15.97 kB / 1.933 GB, free: 59.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/3.521, allocations: 0.6066 MB / 1.934 GB, free: 58.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/3.525, allocations: 1.782 MB / 1.936 GB, free: 56.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/3.526, allocations: 84.02 kB / 1.936 GB, free: 56.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/3.526, allocations: 76 kB / 1.936 GB, free: 56.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/3.529, allocations: 1.016 MB / 1.937 GB, free: 55.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/3.531, allocations: 1.271 MB / 1.938 GB, free: 54.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/3.532, allocations: 3.938 kB / 1.938 GB, free: 54.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/3.532, allocations: 4 kB / 1.938 GB, free: 54.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/3.532, allocations: 40 kB / 1.938 GB, free: 54.36 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.009768/3.542, allocations: 6.484 MB / 1.944 GB, free: 47.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/3.542, allocations: 0.5064 MB / 1.945 GB, free: 47.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/3.543, allocations: 316.5 kB / 1.945 GB, free: 46.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/3.544, allocations: 1.267 MB / 1.946 GB, free: 45.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006765/3.545, allocations: 0.5114 MB / 1.947 GB, free: 44.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.397e-06/3.545, allocations: 0 / 1.947 GB, free: 44.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.002801/3.547, allocations: 0.9081 MB / 1.948 GB, free: 43.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/3.547, allocations: 475.2 kB / 1.948 GB, free: 43.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/3.549, allocations: 0.9877 MB / 1.949 GB, free: 42.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/3.549, allocations: 33.7 kB / 1.949 GB, free: 42.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/3.55, allocations: 0.7329 MB / 1.95 GB, free: 41.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/3.55, allocations: 220.7 kB / 1.95 GB, free: 41.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/3.55, allocations: 0 / 1.95 GB, free: 41.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.649e-05/3.55, allocations: 341.9 kB / 1.951 GB, free: 40.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/3.551, allocations: 310.6 kB / 1.951 GB, free: 40.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/3.551, allocations: 0.6163 MB / 1.951 GB, free: 39.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/3.553, allocations: 0.4962 MB / 1.952 GB, free: 39.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/3.553, allocations: 4 kB / 1.952 GB, free: 39.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004412/3.557, allocations: 1.257 MB / 1.953 GB, free: 38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005292/3.558, allocations: 2.494 MB / 1.956 GB, free: 35.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/3.558, allocations: 4 kB / 1.956 GB, free: 35.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/3.559, allocations: 276.7 kB / 1.956 GB, free: 35.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/3.56, allocations: 267.5 kB / 1.956 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/3.561, allocations: 0.8855 MB / 1.957 GB, free: 33.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/3.564, allocations: 243 kB / 1.957 GB, free: 33.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/3.564, allocations: 51.95 kB / 1.957 GB, free: 33.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/3.564, allocations: 4 kB / 1.957 GB, free: 33.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004078/3.568, allocations: 1.116 MB / 1.958 GB, free: 32.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/3.568, allocations: 8 kB / 1.958 GB, free: 32.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/3.569, allocations: 273.1 kB / 1.959 GB, free: 32.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/3.57, allocations: 271.5 kB / 1.959 GB, free: 31.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/3.571, allocations: 0.8884 MB / 1.96 GB, free: 31.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/3.573, allocations: 199.2 kB / 1.96 GB, free: 30.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/3.573, allocations: 51.95 kB / 1.96 GB, free: 30.77 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.0003762/3.574, allocations: 147.1 kB / 1.96 GB, free: 30.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/3.574, allocations: 130.4 kB / 1.96 GB, free: 30.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/3.578, allocations: 0.9919 MB / 1.961 GB, free: 29.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/3.578, allocations: 8 kB / 1.961 GB, free: 29.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/3.578, allocations: 4 kB / 1.961 GB, free: 29.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002887/3.581, allocations: 0.9044 MB / 1.962 GB, free: 28.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00698/3.588, allocations: 3.168 MB / 1.965 GB, free: 25.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/3.588, allocations: 4 kB / 1.965 GB, free: 25.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/3.589, allocations: 168.2 kB / 1.965 GB, free: 25.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/3.589, allocations: 264.7 kB / 1.966 GB, free: 24.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-05/3.589, allocations: 23.97 kB / 1.966 GB, free: 24.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009959/3.59, allocations: 0.8768 MB / 1.967 GB, free: 23.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/3.59, allocations: 7.938 kB / 1.967 GB, free: 23.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/3.595, allocations: 1.819 MB / 1.968 GB, free: 21.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009568/3.596, allocations: 367.2 kB / 1.969 GB, free: 21.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/3.596, allocations: 11.98 kB / 1.969 GB, free: 21.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/3.598, allocations: 135.8 kB / 1.969 GB, free: 21.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/3.598, allocations: 72.25 kB / 1.969 GB, free: 21.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.955e-05/3.598, allocations: 39.95 kB / 1.969 GB, free: 21.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001254/3.6, allocations: 0.7493 MB / 1.97 GB, free: 20.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/3.6, allocations: 0 / 1.97 GB, free: 20.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00388/3.603, allocations: 0.9896 MB / 1.971 GB, free: 19.57 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.002159/3.606, allocations: 0.8904 MB / 1.971 GB, free: 18.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002409/3.608, allocations: 1.387 MB / 1.973 GB, free: 17.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/3.608, allocations: 4 kB / 1.973 GB, free: 17.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006905/3.609, allocations: 395.5 kB / 1.973 GB, free: 16.87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/3.612, allocations: 0.5732 MB / 1.974 GB, free: 16.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/3.618, allocations: 2.03 MB / 1.976 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/3.619, allocations: 1.247 MB / 1.977 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002513/3.621, allocations: 409.9 kB / 1.977 GB, free: 12.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/3.621, allocations: 99.34 kB / 1.977 GB, free: 12.41 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/3.621, allocations: 0 / 1.977 GB, free: 12.41 MB / 0.948 GB Notification: Performance of Templates: time 0.6028/4.224, allocations: 34.06 MB / 2.011 GB, free: 172.6 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)