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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 293 MB / 309 MB, free: 4.797 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.001112/0.001112, allocations: 176.4 kB / 378.7 MB, free: 1.023 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.631/1.631, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0008389/0.0008388, allocations: 94.83 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003829, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.44, allocations: 423.7 MB / 1.404 GB, free: 278 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.441, allocations: 90.75 kB / 1.404 GB, free: 278 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.456/2.896, allocations: 0.5405 GB / 1.945 GB, free: 130 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.252e-06/2.896, allocations: 0 / 1.945 GB, free: 130 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000201/2.896, allocations: 49.3 kB / 1.945 GB, free: 130 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.004949/2.901, allocations: 2.062 MB / 1.947 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/2.901, allocations: 11.25 kB / 1.947 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004502/2.906, allocations: 0.6717 MB / 1.948 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/2.909, allocations: 1.78 MB / 1.949 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/2.909, allocations: 134.1 kB / 1.949 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/2.91, allocations: 117.3 kB / 1.95 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/2.913, allocations: 1.631 MB / 1.951 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/2.914, allocations: 0 / 1.951 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/2.914, allocations: 53.81 kB / 1.951 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/2.914, allocations: 42.95 kB / 1.951 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/2.918, allocations: 1.462 MB / 1.953 GB, free: 124.9 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.00858/2.926, allocations: 6.777 MB / 1.959 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/2.928, allocations: 0.6875 MB / 1.96 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/2.93, allocations: 486.2 kB / 1.96 GB, free: 118 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000966/2.931, allocations: 1.269 MB / 1.962 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/2.931, allocations: 43.11 kB / 1.962 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 2.545e-06/2.931, allocations: 0 / 1.962 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.02592/2.957, allocations: 3.838 MB / 1.965 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/2.957, allocations: 107.4 kB / 1.966 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/2.959, allocations: 1.367 MB / 1.967 GB, free: 111 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/2.959, allocations: 45.7 kB / 1.967 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/2.959, allocations: 0.6985 MB / 1.968 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/2.959, allocations: 231.1 kB / 1.968 GB, free: 110 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/2.96, allocations: 16 kB / 1.968 GB, free: 110 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/2.96, allocations: 337.9 kB / 1.968 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/2.961, allocations: 0.4899 MB / 1.969 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/2.963, allocations: 0.7841 MB / 1.969 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/2.966, allocations: 1.117 MB / 1.97 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/2.966, allocations: 0 / 1.97 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01084/2.977, allocations: 2.104 MB / 1.973 GB, free: 105 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/2.977, allocations: 272.9 kB / 1.973 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.977, allocations: 4 kB / 1.973 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/2.979, allocations: 489.4 kB / 1.973 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/2.98, allocations: 255.6 kB / 1.974 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/2.981, allocations: 0.9998 MB / 1.974 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/2.984, allocations: 266.7 kB / 1.975 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/2.984, allocations: 55.94 kB / 1.975 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/2.984, allocations: 4.625 kB / 1.975 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01055/2.994, allocations: 1.944 MB / 1.977 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/2.994, allocations: 8 kB / 1.977 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/2.996, allocations: 491.5 kB / 1.977 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/2.997, allocations: 247.6 kB / 1.977 GB, free: 99.87 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/2.998, allocations: 0.9981 MB / 1.978 GB, free: 98.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/3.001, allocations: 246.8 kB / 1.979 GB, free: 98.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/3.001, allocations: 55.89 kB / 1.979 GB, free: 98.55 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked 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.0008292/3.002, allocations: 444.9 kB / 1.979 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/3.002, allocations: 146.2 kB / 1.979 GB, free: 97.96 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/3.006, allocations: 1.255 MB / 1.98 GB, free: 96.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/3.006, allocations: 8 kB / 1.98 GB, free: 96.69 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/3.006, allocations: 0 / 1.98 GB, free: 96.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003008/3.009, allocations: 1.123 MB / 1.982 GB, free: 95.53 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006745/3.015, allocations: 2.983 MB / 1.984 GB, free: 92.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/3.015, allocations: 4 kB / 1.984 GB, free: 92.44 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/3.016, allocations: 155.8 kB / 1.985 GB, free: 92.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/3.018, allocations: 481.6 kB / 1.985 GB, free: 91.82 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/3.018, allocations: 31.91 kB / 1.985 GB, free: 91.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/3.019, allocations: 0.9884 MB / 1.986 GB, free: 90.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/3.019, allocations: 4 kB / 1.986 GB, free: 90.78 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/3.024, allocations: 1.922 MB / 1.988 GB, free: 88.79 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009016/3.025, allocations: 390.9 kB / 1.988 GB, free: 88.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/3.025, allocations: 23.92 kB / 1.988 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/3.027, allocations: 146.3 kB / 1.988 GB, free: 88.22 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/3.027, allocations: 56.25 kB / 1.989 GB, free: 88.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/3.027, allocations: 43.94 kB / 1.989 GB, free: 88.12 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001397/3.028, allocations: 0.9699 MB / 1.99 GB, free: 87.15 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.21e-07/3.028, allocations: 0 / 1.99 GB, free: 87.15 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0026/3.031, allocations: 0.945 MB / 1.99 GB, free: 86.21 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: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * 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.001483/3.033, allocations: 0.8348 MB / 1.991 GB, free: 85.46 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005545/3.038, allocations: 1.779 MB / 1.993 GB, free: 83.68 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/3.038, allocations: 4.125 kB / 1.993 GB, free: 83.68 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/3.04, allocations: 0.5213 MB / 1.994 GB, free: 83.16 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/3.044, allocations: 0.8082 MB / 1.994 GB, free: 82.38 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/3.05, allocations: 3.147 MB / 1.997 GB, free: 79.16 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/3.05, allocations: 1.207 MB / 1.999 GB, free: 77.91 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001939/3.052, allocations: 370.2 kB / 1.999 GB, free: 77.57 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/3.053, allocations: 127.4 kB / 1.999 GB, free: 77.45 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/3.053, allocations: 0 / 1.999 GB, free: 77.45 MB / 0.9323 GB Notification: Performance of Templates: time 0.05419/3.107, allocations: 40.75 MB / 2.039 GB, free: 37.02 MB / 0.9323 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)