Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.016/2.016, allocations: 288.3 MB / 303.2 MB, free: 8.066 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.001515/0.001515, allocations: 170.1 kB / 371.8 MB, free: 10.3 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.658/1.658, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008703/0.0008703, allocations: 102.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 11.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.265, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.09592/0.361, allocations: 58.54 MB / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.3889, allocations: 12.06 MB / 1.048 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.3919, allocations: 63.56 kB / 1.048 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004464/0.3964, allocations: 0.7811 MB / 1.049 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.4074, allocations: 2.18 MB / 1.051 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.4178, allocations: 1.896 MB / 1.053 GB, free: 44 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008642/0.4265, allocations: 2.624 MB / 1.056 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.4297, allocations: 1.164 MB / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.4346, allocations: 1.261 MB / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.4372, allocations: 0.8244 MB / 1.059 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.4376, allocations: 68 kB / 1.059 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/0.4432, allocations: 1.174 MB / 1.06 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007669/0.444, allocations: 306.7 kB / 1.06 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.4451, allocations: 396.8 kB / 1.061 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006125/0.4513, allocations: 2.42 MB / 1.063 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4513, allocations: 0 / 1.063 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.357e-06/0.4514, allocations: 0 / 1.063 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.2e-05/0.4514, allocations: 3.938 kB / 1.063 GB, free: 5.766 MB / 0.6823 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.007054/0.4585, allocations: 1.924 MB / 1.065 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4586, allocations: 12.03 kB / 1.065 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4694, allocations: 0.7315 MB / 1.066 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/0.4745, allocations: 1.429 MB / 1.067 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.4748, allocations: 132 kB / 1.067 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.4752, allocations: 120 kB / 1.067 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3923/0.8674, allocations: 1.656 MB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.8675, allocations: 3.312 kB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.8677, allocations: 54.95 kB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.62e-05/0.8678, allocations: 38.56 kB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005432/0.8733, allocations: 1.521 MB / 1.071 GB, free: 89.23 MB / 0.6823 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.01184/0.8851, allocations: 7.334 MB / 1.078 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/0.8886, allocations: 0.8468 MB / 1.079 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.8901, allocations: 1.267 MB / 1.08 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.8902, allocations: 44.16 kB / 1.08 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.547e-06/0.8902, allocations: 0.8438 kB / 1.08 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.03893/0.9291, allocations: 4.278 MB / 1.084 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.9292, allocations: 110.8 kB / 1.084 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.9332, allocations: 1.401 MB / 1.086 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.9334, allocations: 45.08 kB / 1.086 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008103/0.9343, allocations: 0.6742 MB / 1.086 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.9346, allocations: 252.9 kB / 1.086 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.9348, allocations: 16.28 kB / 1.086 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9349, allocations: 344.9 kB / 1.087 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.9378, allocations: 0.5186 MB / 1.087 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.9409, allocations: 0.787 MB / 1.088 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.9438, allocations: 0.5725 MB / 1.089 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.9439, allocations: 2.625 kB / 1.089 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.006719/0.9506, allocations: 1.623 MB / 1.09 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004443/0.951, allocations: 2.487 MB / 1.093 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.9511, allocations: 13.53 kB / 1.093 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.9536, allocations: 0.5668 MB / 1.093 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.9553, allocations: 252.9 kB / 1.093 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.9575, allocations: 1.166 MB / 1.095 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.9602, allocations: 296.8 kB / 1.095 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.9604, allocations: 54.88 kB / 1.095 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.9604, allocations: 3.438 kB / 1.095 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00501/0.9654, allocations: 1.473 MB / 1.096 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.9654, allocations: 6.5 kB / 1.096 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.9673, allocations: 0.571 MB / 1.097 GB, free: 74.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.9686, allocations: 251.9 kB / 1.097 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.9704, allocations: 1.182 MB / 1.098 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.9728, allocations: 250 kB / 1.099 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.9729, allocations: 60.02 kB / 1.099 GB, free: 73.4 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 (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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008491/0.9738, allocations: 450.7 kB / 1.099 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/0.9742, allocations: 141.8 kB / 1.099 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.9787, allocations: 1.406 MB / 1.101 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.9787, allocations: 10.27 kB / 1.101 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9787, allocations: 1.031 kB / 1.101 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003687/0.9824, allocations: 1.219 MB / 1.102 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.9906, allocations: 3.523 MB / 1.105 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.9907, allocations: 3.938 kB / 1.105 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/0.9916, allocations: 150.6 kB / 1.105 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.9933, allocations: 0.5525 MB / 1.106 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.9934, allocations: 27.91 kB / 1.106 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.9951, allocations: 1.165 MB / 1.107 GB, free: 67.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9951, allocations: 3.969 kB / 1.107 GB, free: 67.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.9995, allocations: 1.708 MB / 1.109 GB, free: 66.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009578/1, allocations: 412.5 kB / 1.109 GB, free: 66.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/1.001, allocations: 16.84 kB / 1.109 GB, free: 66.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.003, allocations: 164.9 kB / 1.109 GB, free: 66.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.003, allocations: 60.38 kB / 1.109 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.003, allocations: 40.89 kB / 1.109 GB, free: 66.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001818/1.005, allocations: 0.9891 MB / 1.11 GB, free: 65.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.71e-07/1.005, allocations: 0.9688 kB / 1.11 GB, free: 65.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002969/1.008, allocations: 0.9081 MB / 1.111 GB, free: 65.48 MB / 0.6823 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 (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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/1.009, allocations: 0.5395 MB / 1.112 GB, free: 65.26 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006694/1.016, allocations: 1.906 MB / 1.114 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.016, allocations: 1.719 kB / 1.114 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/1.018, allocations: 0.5558 MB / 1.114 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.022, allocations: 0.789 MB / 1.115 GB, free: 63.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/1.03, allocations: 3.109 MB / 1.118 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/1.031, allocations: 1.24 MB / 1.119 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002326/1.033, allocations: 341.3 kB / 1.12 GB, free: 60.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/1.033, allocations: 122 kB / 1.12 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.033, allocations: 0 / 1.12 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.05141/1.085, allocations: 37.74 MB / 1.156 GB, free: 27.31 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)