Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001037/0.001037, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.594/1.594, 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.0008512/0.0008512, allocations: 89.39 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.495e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6953/0.6954, allocations: 116.3 MB / 0.9732 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.792, allocations: 422.8 MB / 1.386 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.793, allocations: 91.19 kB / 1.386 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.787/3.58, allocations: 0.5446 GB / 1.931 GB, free: 62.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/3.58, allocations: 0 / 1.931 GB, free: 62.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003113/3.581, allocations: 44 kB / 1.931 GB, free: 61.98 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.005653/3.586, allocations: 1.821 MB / 1.933 GB, free: 60.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/3.586, allocations: 8.031 kB / 1.933 GB, free: 60.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/3.591, allocations: 0.6613 MB / 1.933 GB, free: 59.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/3.597, allocations: 1.778 MB / 1.935 GB, free: 57.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/3.597, allocations: 92.02 kB / 1.935 GB, free: 57.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/3.597, allocations: 71.94 kB / 1.935 GB, free: 57.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002637/3.6, allocations: 1.032 MB / 1.936 GB, free: 56.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/3.603, allocations: 1.279 MB / 1.938 GB, free: 55.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/3.603, allocations: 3.938 kB / 1.938 GB, free: 55.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/3.604, allocations: 4 kB / 1.938 GB, free: 55.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/3.604, allocations: 32 kB / 1.938 GB, free: 54.98 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.01094/3.615, allocations: 6.519 MB / 1.944 GB, free: 48.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/3.615, allocations: 0.5202 MB / 1.944 GB, free: 47.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/3.616, allocations: 328.5 kB / 1.945 GB, free: 47.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/3.617, allocations: 1.263 MB / 1.946 GB, free: 45.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/3.617, allocations: 47.12 kB / 1.946 GB, free: 45.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 3.868e-06/3.617, allocations: 0 / 1.946 GB, free: 45.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.01032/3.627, allocations: 1.513 MB / 1.947 GB, free: 44.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/3.628, allocations: 119.4 kB / 1.948 GB, free: 44.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/3.63, allocations: 0.9744 MB / 1.949 GB, free: 43.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/3.63, allocations: 25.7 kB / 1.949 GB, free: 43.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/3.631, allocations: 0.7133 MB / 1.949 GB, free: 42.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/3.631, allocations: 216.8 kB / 1.949 GB, free: 42.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/3.631, allocations: 0 / 1.949 GB, free: 42.12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/3.631, allocations: 337.9 kB / 1.95 GB, free: 41.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/3.632, allocations: 318.5 kB / 1.95 GB, free: 41.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/3.633, allocations: 0.5818 MB / 1.951 GB, free: 40.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/3.634, allocations: 0.4925 MB / 1.951 GB, free: 40.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/3.634, allocations: 4 kB / 1.951 GB, free: 40.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0108/3.645, allocations: 1.756 MB / 1.953 GB, free: 38.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008852/3.646, allocations: 2.469 MB / 1.955 GB, free: 35.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/3.646, allocations: 4 kB / 1.955 GB, free: 35.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009503/3.647, allocations: 359.8 kB / 1.956 GB, free: 35.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/3.649, allocations: 255.6 kB / 1.956 GB, free: 35.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/3.65, allocations: 0.9609 MB / 1.957 GB, free: 34.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/3.653, allocations: 223 kB / 1.957 GB, free: 34.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/3.653, allocations: 59.94 kB / 1.957 GB, free: 33.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/3.653, allocations: 0 / 1.957 GB, free: 33.99 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/3.663, allocations: 1.604 MB / 1.959 GB, free: 32.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/3.663, allocations: 12.09 kB / 1.959 GB, free: 32.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007218/3.664, allocations: 360.6 kB / 1.959 GB, free: 32.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/3.666, allocations: 255.6 kB / 1.959 GB, free: 31.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/3.667, allocations: 0.959 MB / 1.96 GB, free: 30.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/3.669, allocations: 187.3 kB / 1.96 GB, free: 30.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/3.67, allocations: 55.94 kB / 1.96 GB, free: 30.54 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004151/3.67, allocations: 128.7 kB / 1.961 GB, free: 30.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005036/3.67, allocations: 126.5 kB / 1.961 GB, free: 30.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/3.674, allocations: 0.9882 MB / 1.962 GB, free: 29.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/3.674, allocations: 15.89 kB / 1.962 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/3.674, allocations: 0 / 1.962 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002096/3.676, allocations: 0.8929 MB / 1.963 GB, free: 28.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/3.682, allocations: 2.599 MB / 1.965 GB, free: 25.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/3.682, allocations: 8.062 kB / 1.965 GB, free: 25.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/3.683, allocations: 147.8 kB / 1.965 GB, free: 25.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006855/3.684, allocations: 357.7 kB / 1.966 GB, free: 25.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/3.684, allocations: 27.92 kB / 1.966 GB, free: 25.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/3.685, allocations: 0.95 MB / 1.966 GB, free: 24.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/3.685, allocations: 7.938 kB / 1.967 GB, free: 24.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/3.688, allocations: 1.734 MB / 1.968 GB, free: 22.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009941/3.689, allocations: 371.2 kB / 1.969 GB, free: 21.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004625/3.689, allocations: 8 kB / 1.969 GB, free: 21.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/3.691, allocations: 135.8 kB / 1.969 GB, free: 21.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/3.692, allocations: 52.27 kB / 1.969 GB, free: 21.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/3.692, allocations: 47.94 kB / 1.969 GB, free: 21.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001409/3.693, allocations: 0.733 MB / 1.969 GB, free: 20.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/3.693, allocations: 0 / 1.969 GB, free: 20.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004132/3.697, allocations: 0.9818 MB / 1.97 GB, free: 19.92 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: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002358/3.7, allocations: 0.885 MB / 1.971 GB, free: 19.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002442/3.702, allocations: 1.272 MB / 1.973 GB, free: 17.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/3.702, allocations: 7.781 kB / 1.973 GB, free: 17.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/3.703, allocations: 364.1 kB / 1.973 GB, free: 17.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/3.706, allocations: 0.5652 MB / 1.973 GB, free: 16.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/3.711, allocations: 1.897 MB / 1.975 GB, free: 14.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/3.712, allocations: 1.239 MB / 1.977 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002509/3.714, allocations: 409.6 kB / 1.977 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/3.715, allocations: 95.36 kB / 1.977 GB, free: 13.08 MB / 0.948 GB Notification: Performance of SimCode: time 1.163e-06/3.715, allocations: 0 / 1.977 GB, free: 13.08 MB / 0.948 GB Notification: Performance of Templates: time 0.7247/4.439, allocations: 34.02 MB / 2.01 GB, free: 173.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)