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.367/1.367, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001028/0.001028, allocations: 187.3 kB / 326.5 MB, free: 2.68 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.656/1.656, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0008187/0.0008187, allocations: 85.55 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8.562 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.04518/0.2248, allocations: 69.13 MB / 0.9643 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.2447, allocations: 14.71 MB / 0.9786 GB, free: 48 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.2474, allocations: 71.67 kB / 0.9787 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.2498, allocations: 0.7498 MB / 0.9794 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006599/0.2564, allocations: 2.315 MB / 0.9817 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.2612, allocations: 1.802 MB / 0.9834 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006502/0.2677, allocations: 5.854 MB / 0.9892 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.2698, allocations: 1.254 MB / 0.9904 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.2727, allocations: 1.45 MB / 0.9918 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.2746, allocations: 1.186 MB / 0.993 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.2749, allocations: 75.94 kB / 0.993 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.2787, allocations: 1.817 MB / 0.9948 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00041/0.2791, allocations: 322.6 kB / 0.9951 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.2804, allocations: 0.8627 MB / 0.996 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.2841, allocations: 2.693 MB / 0.9986 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2842, allocations: 0 / 0.9986 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2842, allocations: 0 / 0.9986 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.859e-05/0.2842, allocations: 0 / 0.9986 GB, free: 11.53 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.00358/0.2878, allocations: 1.955 MB / 1 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2879, allocations: 16.03 kB / 1.001 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/0.2932, allocations: 0.7285 MB / 1.001 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.2959, allocations: 1.541 MB / 1.003 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.296, allocations: 132 kB / 1.003 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.2962, allocations: 120 kB / 1.003 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.2999, allocations: 1.644 MB / 1.005 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.2999, allocations: 7.938 kB / 1.005 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.3, allocations: 48 kB / 1.005 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.3001, allocations: 36 kB / 1.005 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.3045, allocations: 1.496 MB / 1.006 GB, free: 3.582 MB / 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.009664/0.3142, allocations: 7.014 MB / 1.013 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.3163, allocations: 0.7551 MB / 1.014 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.3178, allocations: 0.5022 MB / 1.014 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.3191, allocations: 1.278 MB / 1.015 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3192, allocations: 47.12 kB / 1.015 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 2.906e-06/0.3192, allocations: 0 / 1.015 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.01861/0.3378, allocations: 3.121 MB / 1.019 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3379, allocations: 115.4 kB / 1.019 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.34, allocations: 1.358 MB / 1.02 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.3402, allocations: 41.7 kB / 1.02 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.3407, allocations: 0.6917 MB / 1.021 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.341, allocations: 240.6 kB / 1.021 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3411, allocations: 81.61 kB / 1.021 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3412, allocations: 341.9 kB / 1.021 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.3431, allocations: 0.5133 MB / 1.022 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.3451, allocations: 0.8018 MB / 1.023 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.3486, allocations: 1.176 MB / 1.024 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3486, allocations: 0 / 1.024 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00505/0.3537, allocations: 1.601 MB / 1.025 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.3539, allocations: 276.8 kB / 1.026 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3539, allocations: 8 kB / 1.026 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.3556, allocations: 481.1 kB / 1.026 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.3569, allocations: 263.6 kB / 1.026 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3585, allocations: 1 MB / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.361, allocations: 282.6 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.3612, allocations: 51.95 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3612, allocations: 4 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004661/0.3658, allocations: 1.445 MB / 1.029 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.3659, allocations: 11.98 kB / 1.029 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.3675, allocations: 471.6 kB / 1.029 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.3689, allocations: 263.6 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.3704, allocations: 0.9928 MB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.3727, allocations: 247.5 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.3729, allocations: 63.88 kB / 1.031 GB, free: 9.016 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 (heaPum.com.isOn,$PRE.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.0009719/0.3739, allocations: 452.8 kB / 1.031 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.3743, allocations: 142.2 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.3786, allocations: 1.341 MB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3786, allocations: 8 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3786, allocations: 0 / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00358/0.3822, allocations: 1.158 MB / 1.034 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007727/0.39, allocations: 3.054 MB / 1.037 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/0.39, allocations: 4.188 kB / 1.037 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000916/0.391, allocations: 163.8 kB / 1.037 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.3926, allocations: 454.9 kB / 1.038 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.3927, allocations: 35.91 kB / 1.038 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.3943, allocations: 0.9895 MB / 1.039 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.3943, allocations: 4 kB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/0.4003, allocations: 1.978 MB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009343/0.4013, allocations: 355 kB / 1.041 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.4017, allocations: 20 kB / 1.041 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.4037, allocations: 157.5 kB / 1.041 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4038, allocations: 60.23 kB / 1.041 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.404, allocations: 39.95 kB / 1.041 GB, free: 14.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001972/0.4059, allocations: 0.9736 MB / 1.042 GB, free: 13.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.406, allocations: 0 / 1.042 GB, free: 13.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003255/0.4092, allocations: 0.9396 MB / 1.043 GB, free: 12.41 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.001576/0.4108, allocations: 0.5866 MB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006645/0.4175, allocations: 1.869 MB / 1.045 GB, free: 9.969 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.4175, allocations: 4.562 kB / 1.045 GB, free: 9.965 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4195, allocations: 0.5293 MB / 1.046 GB, free: 9.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005006/0.4245, allocations: 0.8145 MB / 1.047 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.431, allocations: 3.247 MB / 1.05 GB, free: 5.297 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009475/0.432, allocations: 1.207 MB / 1.051 GB, free: 4.062 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.4326, allocations: 155.2 kB / 1.051 GB, free: 3.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/0.4326, allocations: 0 / 1.051 GB, free: 3.91 MB / 0.698 GB Notification: Performance of Templates: time 0.4095/0.8421, allocations: 36.11 MB / 1.086 GB, free: 135 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)