Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001245/0.001245, allocations: 188.4 kB / 376.9 MB, free: 1.84 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.451/1.451, allocations: 205 MB / 0.6353 GB, free: 9.812 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.001015/0.001016, allocations: 96.81 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001083, allocations: 51.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2396, allocations: 114.6 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.4677/0.7073, allocations: 69.48 MB / 1.05 GB, free: 68.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02511/0.7325, allocations: 14.46 MB / 1.064 GB, free: 61.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.7371, allocations: 66.25 kB / 1.064 GB, free: 61.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.7406, allocations: 0.7575 MB / 1.065 GB, free: 61.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007739/0.7483, allocations: 2.32 MB / 1.067 GB, free: 59.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.7532, allocations: 1.788 MB / 1.069 GB, free: 58.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006105/0.7593, allocations: 5.868 MB / 1.075 GB, free: 56.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.761, allocations: 1.325 MB / 1.076 GB, free: 55.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.7637, allocations: 1.485 MB / 1.077 GB, free: 55.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.7653, allocations: 1.258 MB / 1.079 GB, free: 54.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.7655, allocations: 89.09 kB / 1.079 GB, free: 54.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.7693, allocations: 1.762 MB / 1.081 GB, free: 54.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.7696, allocations: 361.1 kB / 1.081 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009245/0.7706, allocations: 0.9089 MB / 1.082 GB, free: 53.33 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004918/0.7755, allocations: 3.422 MB / 1.085 GB, free: 52.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7755, allocations: 3.469 kB / 1.085 GB, free: 52.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7755, allocations: 0 / 1.085 GB, free: 52.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.286e-05/0.7756, allocations: 4 kB / 1.085 GB, free: 52.08 MB / 0.7448 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.003816/0.7794, allocations: 2.307 MB / 1.087 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7795, allocations: 12.91 kB / 1.087 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.7846, allocations: 0.6893 MB / 1.088 GB, free: 50.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.7872, allocations: 1.553 MB / 1.09 GB, free: 49.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.7873, allocations: 127.9 kB / 1.09 GB, free: 49.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.7875, allocations: 117.4 kB / 1.09 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.7908, allocations: 1.661 MB / 1.091 GB, free: 48.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.7909, allocations: 0 / 1.091 GB, free: 48.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.791, allocations: 55.73 kB / 1.091 GB, free: 48.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.791, allocations: 37.78 kB / 1.091 GB, free: 48.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/0.7952, allocations: 1.482 MB / 1.093 GB, free: 48.08 MB / 0.7448 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.008666/0.8039, allocations: 7.27 MB / 1.1 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.8061, allocations: 0.8112 MB / 1.101 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.8076, allocations: 0.5069 MB / 1.101 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009543/0.8086, allocations: 1.267 MB / 1.103 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.8086, allocations: 46.06 kB / 1.103 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.8086, allocations: 3.938 kB / 1.103 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.02753/0.8362, allocations: 4.145 MB / 1.107 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.8363, allocations: 116.8 kB / 1.107 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.8383, allocations: 1.356 MB / 1.108 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.8385, allocations: 44.11 kB / 1.108 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.839, allocations: 0.6813 MB / 1.109 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.8392, allocations: 240.3 kB / 1.109 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.8396, allocations: 224.7 kB / 1.109 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.8396, allocations: 340.4 kB / 1.11 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.8414, allocations: 0.507 MB / 1.11 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.8434, allocations: 0.7788 MB / 1.111 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.8468, allocations: 1.133 MB / 1.112 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.8468, allocations: 3.344 kB / 1.112 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004837/0.8516, allocations: 1.596 MB / 1.113 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.8517, allocations: 16.03 kB / 1.114 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.8517, allocations: 6.5 kB / 1.114 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.8535, allocations: 0.5611 MB / 1.114 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8547, allocations: 235.9 kB / 1.114 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.8563, allocations: 1.176 MB / 1.115 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.8586, allocations: 257.9 kB / 1.116 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.8587, allocations: 61.11 kB / 1.116 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00226/0.861, allocations: 0.7952 MB / 1.117 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001944/0.8629, allocations: 0.7697 MB / 1.117 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003291/0.8662, allocations: 1.145 MB / 1.118 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.8662, allocations: 0.7031 kB / 1.118 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005512/0.8718, allocations: 1.573 MB / 1.12 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8718, allocations: 13.47 kB / 1.12 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8718, allocations: 8.344 kB / 1.12 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.8736, allocations: 0.5732 MB / 1.121 GB, free: 33.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.8749, allocations: 235.9 kB / 1.121 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.8766, allocations: 1.164 MB / 1.122 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.879, allocations: 231.1 kB / 1.122 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.8792, allocations: 54.58 kB / 1.122 GB, free: 32.39 MB / 0.7448 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 (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.0003342/0.8795, allocations: 236.3 kB / 1.122 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.8799, allocations: 142.3 kB / 1.122 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.8842, allocations: 1.365 MB / 1.124 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.8842, allocations: 13.66 kB / 1.124 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8842, allocations: 2.125 kB / 1.124 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003519/0.8877, allocations: 1.166 MB / 1.125 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008345/0.8961, allocations: 3.459 MB / 1.128 GB, free: 29.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.8961, allocations: 3.125 kB / 1.128 GB, free: 29.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.897, allocations: 142.3 kB / 1.129 GB, free: 29.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.8988, allocations: 0.5428 MB / 1.129 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/0.8989, allocations: 35.27 kB / 1.129 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.9007, allocations: 1.159 MB / 1.13 GB, free: 28.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.9008, allocations: 10.97 kB / 1.13 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006626/0.9074, allocations: 2.786 MB / 1.133 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.9082, allocations: 359 kB / 1.133 GB, free: 26.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.9084, allocations: 17.56 kB / 1.133 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.9103, allocations: 156.3 kB / 1.133 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.9104, allocations: 51.41 kB / 1.133 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.9106, allocations: 45.02 kB / 1.134 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00168/0.9122, allocations: 0.9632 MB / 1.134 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9123, allocations: 0 / 1.134 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003119/0.9154, allocations: 0.9227 MB / 1.135 GB, free: 25.68 MB / 0.7448 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.001393/0.9168, allocations: 0.5321 MB / 1.136 GB, free: 25.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006696/0.9235, allocations: 1.846 MB / 1.138 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.9235, allocations: 0 / 1.138 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.9254, allocations: 0.5354 MB / 1.138 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/0.9304, allocations: 0.791 MB / 1.139 GB, free: 24.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.9387, allocations: 3.587 MB / 1.142 GB, free: 22.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.9398, allocations: 1.226 MB / 1.144 GB, free: 21.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002136/0.9419, allocations: 337.1 kB / 1.144 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.9424, allocations: 118.4 kB / 1.144 GB, free: 21.45 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.9424, allocations: 4 kB / 1.144 GB, free: 21.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.08232/1.025, allocations: 39.32 MB / 1.183 GB, free: 8.578 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)