Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.6 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008467/0.0008467, allocations: 99.64 kB / 0.6833 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.000319, allocations: 11.5 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1932, allocations: 106.3 MB / 0.9015 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.04913/0.2424, allocations: 68.21 MB / 0.9681 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.2619, allocations: 14.54 MB / 0.9823 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.2647, allocations: 63.56 kB / 0.9823 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.2673, allocations: 0.7498 MB / 0.9831 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00769/0.275, allocations: 2.32 MB / 0.9853 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.2804, allocations: 1.813 MB / 0.9871 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006885/0.2873, allocations: 5.85 MB / 0.9928 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.2897, allocations: 1.258 MB / 0.994 GB, free: 464 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/0.2933, allocations: 1.45 MB / 0.9954 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.2957, allocations: 1.19 MB / 0.9966 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.2962, allocations: 64 kB / 0.9967 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.3009, allocations: 1.835 MB / 0.9985 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006663/0.3016, allocations: 310.6 kB / 0.9988 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.3035, allocations: 0.8918 MB / 0.9996 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.3079, allocations: 2.697 MB / 1.002 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3079, allocations: 0 / 1.002 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3079, allocations: 0 / 1.002 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.429e-05/0.308, allocations: 0 / 1.002 GB, free: 7.992 MB / 0.6511 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.004597/0.3126, allocations: 1.955 MB / 1.004 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.3127, allocations: 8.031 kB / 1.004 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005832/0.3185, allocations: 0.7363 MB / 1.005 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.3224, allocations: 1.537 MB / 1.006 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.3227, allocations: 132 kB / 1.007 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/0.3231, allocations: 120 kB / 1.007 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004669/0.3278, allocations: 1.652 MB / 1.008 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.3278, allocations: 3.938 kB / 1.008 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.328, allocations: 48 kB / 1.008 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.3281, allocations: 32 kB / 1.008 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005038/0.3332, allocations: 1.499 MB / 1.01 GB, free: 44 kB / 0.6511 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.01116/0.3443, allocations: 7.017 MB / 1.017 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.3466, allocations: 0.7552 MB / 1.017 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.3482, allocations: 0.5048 MB / 1.018 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.3497, allocations: 1.278 MB / 1.019 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3497, allocations: 43.12 kB / 1.019 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 2.906e-06/0.3497, allocations: 0 / 1.019 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.01986/0.3696, allocations: 3.125 MB / 1.022 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.3697, allocations: 111.4 kB / 1.022 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.3723, allocations: 1.362 MB / 1.024 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.3726, allocations: 41.7 kB / 1.024 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/0.3734, allocations: 0.6878 MB / 1.024 GB, free: 404 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.3738, allocations: 236.6 kB / 1.025 GB, free: 164 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.3738, allocations: 20 kB / 1.025 GB, free: 144 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3741, allocations: 345.9 kB / 1.025 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.3761, allocations: 0.5211 MB / 1.025 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.3782, allocations: 0.7979 MB / 1.026 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.3818, allocations: 1.172 MB / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3818, allocations: 0 / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01224/0.3941, allocations: 2.17 MB / 1.029 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.3944, allocations: 276.8 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3944, allocations: 11.94 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.3962, allocations: 472.3 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3977, allocations: 267.6 kB / 1.03 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.3994, allocations: 0.9972 MB / 1.031 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.4021, allocations: 282.6 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4022, allocations: 55.95 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.4022, allocations: 7.938 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01176/0.414, allocations: 1.999 MB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.4141, allocations: 8.062 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.4158, allocations: 484.5 kB / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.4173, allocations: 267.6 kB / 1.034 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.4189, allocations: 0.9934 MB / 1.035 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.4213, allocations: 247.5 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.4215, allocations: 55.95 kB / 1.036 GB, free: 4.406 MB / 0.6823 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 (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.00087/0.4223, allocations: 452.8 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.4226, allocations: 146.2 kB / 1.036 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.4269, allocations: 1.333 MB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.427, allocations: 15.94 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.427, allocations: 0 / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003679/0.4307, allocations: 1.139 MB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007554/0.4382, allocations: 3.065 MB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.4383, allocations: 4 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009176/0.4392, allocations: 151.9 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.4408, allocations: 464 kB / 1.042 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.33e-05/0.4409, allocations: 23.97 kB / 1.042 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.4426, allocations: 1 MB / 1.043 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4426, allocations: 12.06 kB / 1.043 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.4485, allocations: 1.975 MB / 1.045 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009597/0.4495, allocations: 386.9 kB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.4497, allocations: 27.94 kB / 1.046 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.4515, allocations: 147.8 kB / 1.046 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4516, allocations: 64.28 kB / 1.046 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.4517, allocations: 43.95 kB / 1.046 GB, free: 9.684 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001656/0.4534, allocations: 0.9813 MB / 1.047 GB, free: 8.703 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.4534, allocations: 7.938 kB / 1.047 GB, free: 8.695 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00256/0.456, allocations: 0.928 MB / 1.048 GB, free: 7.766 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.4573, allocations: 0.5728 MB / 1.048 GB, free: 7.191 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006554/0.4639, allocations: 1.873 MB / 1.05 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.464, allocations: 4.062 kB / 1.05 GB, free: 5.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.4658, allocations: 0.5332 MB / 1.051 GB, free: 4.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/0.4707, allocations: 0.8128 MB / 1.051 GB, free: 3.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.4771, allocations: 3.331 MB / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3451/0.8222, allocations: 1.195 MB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/0.8229, allocations: 156.5 kB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.51e-07/0.8229, allocations: 1.375 kB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05274/0.8757, allocations: 36.12 MB / 1.091 GB, free: 130.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)