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.756/1.756, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001258/0.001258, allocations: 181 kB / 377.1 MB, free: 1.535 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.614/1.614, allocations: 205.4 MB / 0.6367 GB, free: 9.609 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.001027/0.001027, allocations: 90.23 kB / 0.751 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004382, allocations: 8 kB / 0.8748 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2743, allocations: 116.3 MB / 0.9884 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.598/1.873, allocations: 423.6 MB / 1.402 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.873, allocations: 100.2 kB / 1.402 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.756/3.629, allocations: 0.549 GB / 1.951 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/3.629, allocations: 0 / 1.951 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003575/3.629, allocations: 47.22 kB / 1.951 GB, free: 128.5 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.009195/3.639, allocations: 2.088 MB / 1.953 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/3.639, allocations: 8.031 kB / 1.953 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005885/3.645, allocations: 0.6622 MB / 1.954 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005549/3.65, allocations: 1.788 MB / 1.956 GB, free: 124 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/3.651, allocations: 128 kB / 1.956 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005293/3.651, allocations: 123.6 kB / 1.956 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/3.656, allocations: 1.619 MB / 1.957 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/3.656, allocations: 7.891 kB / 1.957 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/3.656, allocations: 52 kB / 1.957 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/3.656, allocations: 39.92 kB / 1.958 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/3.661, allocations: 1.457 MB / 1.959 GB, free: 120.5 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.01139/3.672, allocations: 6.817 MB / 1.966 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/3.675, allocations: 0.6892 MB / 1.966 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/3.676, allocations: 1.266 MB / 1.968 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/3.676, allocations: 51.06 kB / 1.968 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.036e-06/3.676, allocations: 0 / 1.968 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.02878/3.705, allocations: 3.812 MB / 1.971 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/3.705, allocations: 107.4 kB / 1.971 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/3.707, allocations: 1.262 MB / 1.973 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/3.708, allocations: 45.7 kB / 1.973 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/3.709, allocations: 0.6992 MB / 1.973 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/3.709, allocations: 228.5 kB / 1.974 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/3.709, allocations: 16 kB / 1.974 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/3.709, allocations: 341.9 kB / 1.974 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/3.711, allocations: 0.4937 MB / 1.974 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/3.713, allocations: 0.7723 MB / 1.975 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/3.715, allocations: 0.5379 MB / 1.976 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/3.715, allocations: 0 / 1.976 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01278/3.728, allocations: 2.097 MB / 1.978 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005468/3.728, allocations: 2.491 MB / 1.98 GB, free: 97.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/3.728, allocations: 8 kB / 1.98 GB, free: 97.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/3.73, allocations: 496.9 kB / 1.981 GB, free: 97.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/3.732, allocations: 253.6 kB / 1.981 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.733, allocations: 0.9996 MB / 1.982 GB, free: 96.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/3.736, allocations: 278.6 kB / 1.982 GB, free: 95.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/3.737, allocations: 55.94 kB / 1.982 GB, free: 95.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/3.737, allocations: 6.031 kB / 1.982 GB, free: 95.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/3.749, allocations: 1.944 MB / 1.984 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/3.749, allocations: 8 kB / 1.984 GB, free: 93.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/3.751, allocations: 482.3 kB / 1.985 GB, free: 93.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/3.752, allocations: 251.6 kB / 1.985 GB, free: 93.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/3.754, allocations: 1.001 MB / 1.986 GB, free: 92.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/3.757, allocations: 238.8 kB / 1.986 GB, free: 91.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/3.757, allocations: 55.94 kB / 1.986 GB, free: 91.82 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.001153/3.758, allocations: 446.3 kB / 1.986 GB, free: 91.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/3.759, allocations: 154.2 kB / 1.987 GB, free: 91.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/3.763, allocations: 1.253 MB / 1.988 GB, free: 89.96 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/3.763, allocations: 8 kB / 1.988 GB, free: 89.95 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.763, allocations: 0 / 1.988 GB, free: 89.95 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003484/3.767, allocations: 1.123 MB / 1.989 GB, free: 88.79 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0082/3.775, allocations: 3.012 MB / 1.992 GB, free: 85.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/3.775, allocations: 4 kB / 1.992 GB, free: 85.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/3.776, allocations: 151.9 kB / 1.992 GB, free: 85.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/3.777, allocations: 471.1 kB / 1.992 GB, free: 85.06 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/3.778, allocations: 31.97 kB / 1.993 GB, free: 85.03 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/3.779, allocations: 1.003 MB / 1.993 GB, free: 84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/3.779, allocations: 7.938 kB / 1.993 GB, free: 84 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/3.785, allocations: 2.157 MB / 1.996 GB, free: 81.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/3.786, allocations: 390.9 kB / 1.996 GB, free: 81.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/3.787, allocations: 23.06 kB / 1.996 GB, free: 81.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/3.789, allocations: 143.7 kB / 1.996 GB, free: 81.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/3.789, allocations: 64.25 kB / 1.996 GB, free: 80.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/3.789, allocations: 43.95 kB / 1.996 GB, free: 80.94 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002064/3.791, allocations: 1.013 MB / 1.997 GB, free: 79.93 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.5e-07/3.791, allocations: 0 / 1.997 GB, free: 79.93 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004012/3.795, allocations: 0.9862 MB / 1.998 GB, free: 78.94 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.002321/3.798, allocations: 0.8752 MB / 1.999 GB, free: 78.14 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006342/3.804, allocations: 1.785 MB / 2.001 GB, free: 76.36 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/3.804, allocations: 4.062 kB / 2.001 GB, free: 76.36 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/3.806, allocations: 0.5174 MB / 2.001 GB, free: 75.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/3.81, allocations: 0.7832 MB / 2.002 GB, free: 75.07 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/3.817, allocations: 3.133 MB / 2.005 GB, free: 71.85 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009672/3.818, allocations: 1.242 MB / 2.006 GB, free: 70.58 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002311/3.821, allocations: 379.9 kB / 2.007 GB, free: 70.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/3.821, allocations: 127.3 kB / 2.007 GB, free: 70.09 MB / 0.9323 GB Notification: Performance of SimCode: time 1.132e-06/3.821, allocations: 4 kB / 2.007 GB, free: 70.08 MB / 0.9323 GB Notification: Performance of Templates: time 0.05665/3.878, allocations: 40 MB / 2.046 GB, free: 30.4 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)