Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006228/0.006228, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008916/0.0008917, allocations: 16.69 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2587, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5878/0.8466, allocations: 127.9 MB / 0.9128 GB, free: 40.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03159/0.8782, allocations: 24.71 MB / 0.9369 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006709/0.885, allocations: 117 kB / 0.937 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.8904, allocations: 1.412 MB / 0.9384 GB, free: 39.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.905, allocations: 4.132 MB / 0.9424 GB, free: 39.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01304/0.918, allocations: 3.211 MB / 0.9455 GB, free: 39.39 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01653/0.9346, allocations: 11.34 MB / 0.9566 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005392/0.94, allocations: 2.524 MB / 0.9591 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009032/0.9491, allocations: 2.75 MB / 0.9618 GB, free: 34.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/0.9542, allocations: 2.305 MB / 0.964 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.9558, allocations: 135 kB / 0.9642 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008677/0.9645, allocations: 2.478 MB / 0.9666 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.966, allocations: 0.6172 MB / 0.9672 GB, free: 32.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.9699, allocations: 1.721 MB / 0.9689 GB, free: 31.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.9805, allocations: 6.022 MB / 0.9747 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.9806, allocations: 0 / 0.9747 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9806, allocations: 0 / 0.9747 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001984/0.9808, allocations: 0 / 0.9747 GB, free: 27.93 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007697/0.9885, allocations: 3.363 MB / 0.978 GB, free: 25.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9886, allocations: 9.906 kB / 0.978 GB, free: 25.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/1, allocations: 1.456 MB / 0.9795 GB, free: 24.88 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/1.006, allocations: 2.922 MB / 0.9823 GB, free: 22.65 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.006, allocations: 244.9 kB / 0.9825 GB, free: 22.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006424/1.007, allocations: 238.2 kB / 0.9828 GB, free: 22.42 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008324/1.015, allocations: 3.247 MB / 0.9859 GB, free: 20.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.623e-05/1.015, allocations: 7.219 kB / 0.986 GB, free: 20.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/1.015, allocations: 101.1 kB / 0.986 GB, free: 20.24 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.533e-05/1.015, allocations: 75.67 kB / 0.9861 GB, free: 20.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009501/1.025, allocations: 2.896 MB / 0.9889 GB, free: 18.78 MB / 0.7169 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.02059/1.046, allocations: 13.66 MB / 1.002 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/1.05, allocations: 1.503 MB / 1.004 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/1.053, allocations: 0.9432 MB / 1.005 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/1.055, allocations: 1.782 MB / 1.006 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003753/1.058, allocations: 1.219 MB / 1.008 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 7.033e-06/1.058, allocations: 336 / 1.008 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.06032/1.119, allocations: 11.94 MB / 1.019 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/1.119, allocations: 0.5844 MB / 1.02 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005241/1.124, allocations: 2.6 MB / 1.022 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004167/1.125, allocations: 65.64 kB / 1.022 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.126, allocations: 1.317 MB / 1.024 GB, free: 404 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/1.127, allocations: 466.2 kB / 1.024 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/1.127, allocations: 149.6 kB / 1.024 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/1.127, allocations: 305.1 kB / 1.025 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/1.132, allocations: 1.007 MB / 1.026 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004896/1.137, allocations: 1.612 MB / 1.027 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/1.145, allocations: 2.305 MB / 1.029 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/1.145, allocations: 4 kB / 1.029 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02578/1.171, allocations: 4.271 MB / 1.034 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003595/1.171, allocations: 0.4886 MB / 1.034 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/1.171, allocations: 12 kB / 1.034 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/1.175, allocations: 1.166 MB / 1.035 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/1.178, allocations: 471.2 kB / 1.036 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/1.183, allocations: 2.392 MB / 1.038 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006029/1.189, allocations: 423.2 kB / 1.038 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005034/1.189, allocations: 107.9 kB / 1.039 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.19, allocations: 6.969 kB / 1.039 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02436/1.214, allocations: 3.969 MB / 1.042 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.476e-05/1.214, allocations: 12 kB / 1.042 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/1.218, allocations: 1.166 MB / 1.044 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/1.221, allocations: 471.2 kB / 1.044 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004222/1.225, allocations: 2.389 MB / 1.046 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/1.23, allocations: 387.2 kB / 1.047 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000426/1.231, allocations: 107.9 kB / 1.047 GB, free: 8.051 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00188/1.233, allocations: 0.6962 MB / 1.047 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.234, allocations: 276.6 kB / 1.048 GB, free: 7.07 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009126/1.243, allocations: 2.469 MB / 1.05 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/1.243, allocations: 19.98 kB / 1.05 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.243, allocations: 0 / 1.05 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007304/1.25, allocations: 2.069 MB / 1.052 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/1.274, allocations: 7.104 MB / 1.059 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.274, allocations: 8 kB / 1.059 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.276, allocations: 284.2 kB / 1.059 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/1.279, allocations: 1.02 MB / 1.06 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/1.279, allocations: 55.94 kB / 1.06 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/1.283, allocations: 2.16 MB / 1.063 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.283, allocations: 11.94 kB / 1.063 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.297, allocations: 3.838 MB / 1.066 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/1.3, allocations: 0.6573 MB / 1.067 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.301, allocations: 48.05 kB / 1.067 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004243/1.305, allocations: 300.3 kB / 1.067 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/1.305, allocations: 112.7 kB / 1.067 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.306, allocations: 75.92 kB / 1.067 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004142/1.31, allocations: 1.832 MB / 1.069 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.61e-07/1.31, allocations: 0 / 1.069 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006132/1.316, allocations: 1.476 MB / 1.071 GB, free: 15.23 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002539/1.318, allocations: 0.7985 MB / 1.071 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01493/1.333, allocations: 3.823 MB / 1.075 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.728e-05/1.333, allocations: 8.375 kB / 1.075 GB, free: 10.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004194/1.338, allocations: 1.119 MB / 1.076 GB, free: 9.539 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/1.351, allocations: 1.578 MB / 1.078 GB, free: 7.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.364, allocations: 6.111 MB / 1.084 GB, free: 1.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.366, allocations: 1.725 MB / 1.086 GB, free: 16 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004139/1.37, allocations: 0.66 MB / 1.086 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009578/1.371, allocations: 247.3 kB / 1.086 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of SimCode: time 9.42e-07/1.371, allocations: 0 / 1.086 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.1259/1.497, allocations: 76.68 MB / 1.161 GB, free: 3.285 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: