Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 268 MB, free: 10.84 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.001087/0.001088, allocations: 179.1 kB / 327.6 MB, free: 2.086 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.659/1.659, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007631/0.0007632, allocations: 94.53 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 11.34 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.04825/0.2344, allocations: 68.24 MB / 0.9681 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.2554, allocations: 14.55 MB / 0.9823 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.2583, allocations: 63.56 kB / 0.9824 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.2611, allocations: 0.7537 MB / 0.9831 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008379/0.2695, allocations: 2.313 MB / 0.9854 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005671/0.2752, allocations: 1.807 MB / 0.9871 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007652/0.2828, allocations: 5.824 MB / 0.9928 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.2849, allocations: 1.262 MB / 0.994 GB, free: 364 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.2879, allocations: 1.447 MB / 0.9955 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.2896, allocations: 1.186 MB / 0.9966 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.2898, allocations: 68 kB / 0.9967 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.2938, allocations: 1.825 MB / 0.9985 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.2943, allocations: 330.4 kB / 0.9988 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.2954, allocations: 0.8918 MB / 0.9996 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.2991, allocations: 2.677 MB / 1.002 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.2991, allocations: 3.938 kB / 1.002 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2991, allocations: 0 / 1.002 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.821e-05/0.2991, allocations: 0 / 1.002 GB, free: 7.902 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.003833/0.303, allocations: 1.979 MB / 1.004 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.303, allocations: 8.031 kB / 1.004 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.3083, allocations: 0.7364 MB / 1.005 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.3109, allocations: 1.541 MB / 1.006 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.311, allocations: 132 kB / 1.007 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.3112, allocations: 124 kB / 1.007 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.3149, allocations: 1.669 MB / 1.008 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.315, allocations: 0 / 1.008 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3151, allocations: 48 kB / 1.008 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.3152, allocations: 43.86 kB / 1.008 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004636/0.3198, allocations: 1.523 MB / 1.01 GB, free: 15.87 MB / 0.6667 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.01009/0.3299, allocations: 7.291 MB / 1.017 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.3323, allocations: 0.8416 MB / 1.018 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.334, allocations: 0.5294 MB / 1.018 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.3354, allocations: 1.274 MB / 1.02 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3354, allocations: 43.12 kB / 1.02 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.3354, allocations: 0 / 1.02 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.0288/0.3642, allocations: 4.307 MB / 1.024 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.3643, allocations: 119.4 kB / 1.024 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.3665, allocations: 1.367 MB / 1.025 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.3666, allocations: 41.7 kB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.3673, allocations: 0.6763 MB / 1.026 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.3675, allocations: 256.4 kB / 1.026 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.3676, allocations: 16 kB / 1.026 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3677, allocations: 341.9 kB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.3696, allocations: 0.5211 MB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.3717, allocations: 0.794 MB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.3754, allocations: 1.183 MB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.3754, allocations: 4 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005071/0.3805, allocations: 1.64 MB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.3807, allocations: 284.4 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3807, allocations: 8 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.3826, allocations: 0.5387 MB / 1.031 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.3839, allocations: 251.6 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.3859, allocations: 1.181 MB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.3883, allocations: 282.6 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.3885, allocations: 55.94 kB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.3885, allocations: 4 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004703/0.3932, allocations: 1.48 MB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3932, allocations: 4 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.3951, allocations: 0.5468 MB / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3963, allocations: 255.6 kB / 1.035 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.3982, allocations: 1.174 MB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.4004, allocations: 251.5 kB / 1.037 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4005, allocations: 51.95 kB / 1.037 GB, free: 3.164 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 (82): * Single equations (assignments): 81 * 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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007536/0.4013, allocations: 454.1 kB / 1.037 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.4015, allocations: 146.2 kB / 1.037 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.4058, allocations: 1.406 MB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.4059, allocations: 8 kB / 1.039 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.4059, allocations: 3.938 kB / 1.039 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003772/0.4096, allocations: 1.219 MB / 1.04 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/0.4175, allocations: 3.493 MB / 1.043 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.4176, allocations: 11.94 kB / 1.043 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.4185, allocations: 151.8 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.4202, allocations: 0.5355 MB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.4203, allocations: 23.97 kB / 1.044 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.4222, allocations: 1.181 MB / 1.045 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4222, allocations: 8 kB / 1.045 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.4265, allocations: 1.481 MB / 1.047 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007461/0.4272, allocations: 394.9 kB / 1.047 GB, free: 8.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.4274, allocations: 16 kB / 1.047 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.4291, allocations: 165 kB / 1.047 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4292, allocations: 56.19 kB / 1.047 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.764e-05/0.4293, allocations: 39.95 kB / 1.047 GB, free: 8.016 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001534/0.4309, allocations: 0.9613 MB / 1.048 GB, free: 7.055 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4309, allocations: 4 kB / 1.048 GB, free: 7.051 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002328/0.4332, allocations: 0.9357 MB / 1.049 GB, free: 6.113 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * 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 (42): * Single equations (assignments): 39 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001281/0.4345, allocations: 0.5773 MB / 1.05 GB, free: 5.535 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006542/0.4411, allocations: 1.914 MB / 1.052 GB, free: 3.621 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.4411, allocations: 4.125 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.4432, allocations: 0.557 MB / 1.052 GB, free: 3.062 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/0.4478, allocations: 0.8075 MB / 1.053 GB, free: 2.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3402/0.7881, allocations: 3.291 MB / 1.056 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.7888, allocations: 1.208 MB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.7894, allocations: 143 kB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.7894, allocations: 2.688 kB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04965/0.839, allocations: 35.68 MB / 1.092 GB, free: 129.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)