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/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_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001137/0.001137, allocations: 182.9 kB / 371.6 MB, free: 3.348 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.845/1.845, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001125/0.001125, allocations: 91.92 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.267e-05/5.27e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/2.073, allocations: 425.3 MB / 1.395 GB, free: 258.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/2.073, allocations: 90.59 kB / 1.395 GB, free: 258.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.224/5.297, allocations: 1.042 GB / 2.437 GB, free: 7.227 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/5.297, allocations: 3.938 kB / 2.437 GB, free: 7.223 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000306/5.297, allocations: 83.97 kB / 2.438 GB, free: 7.141 MB / 0.948 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.009557/5.307, allocations: 3.183 MB / 2.441 GB, free: 3.863 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/5.307, allocations: 19.97 kB / 2.441 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/5.317, allocations: 1.307 MB / 2.442 GB, free: 2.531 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008408/5.325, allocations: 3.305 MB / 2.445 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/5.326, allocations: 251.9 kB / 2.445 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/5.327, allocations: 235.9 kB / 2.446 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006009/5.333, allocations: 2.833 MB / 2.448 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/5.333, allocations: 3.938 kB / 2.448 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/5.333, allocations: 104 kB / 2.449 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/5.333, allocations: 75.98 kB / 2.449 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/5.337, allocations: 2.16 MB / 2.451 GB, free: 9.262 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.02332/5.361, allocations: 13.52 MB / 2.464 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/5.363, allocations: 1.225 MB / 2.465 GB, free: 9.879 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/5.364, allocations: 0.6389 MB / 2.466 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/5.366, allocations: 1.781 MB / 2.467 GB, free: 7.07 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001606/5.367, allocations: 0.9723 MB / 2.468 GB, free: 6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 3.396e-06/5.367, allocations: 4 kB / 2.468 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.7343/6.101, allocations: 10.1 MB / 2.478 GB, free: 104 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/6.102, allocations: 0.9408 MB / 2.479 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/6.106, allocations: 2.334 MB / 2.481 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004831/6.107, allocations: 65.98 kB / 2.482 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/6.108, allocations: 1.348 MB / 2.483 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/6.109, allocations: 423.3 kB / 2.483 GB, free: 102 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/6.109, allocations: 32.75 kB / 2.483 GB, free: 102 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001106/6.109, allocations: 366.9 kB / 2.484 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/6.111, allocations: 0.6317 MB / 2.484 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/6.112, allocations: 1.271 MB / 2.485 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/6.114, allocations: 0.7732 MB / 2.486 GB, free: 101 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/6.114, allocations: 3.375 kB / 2.486 GB, free: 101 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005408/6.119, allocations: 2.371 MB / 2.489 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009707/6.12, allocations: 5.258 MB / 2.494 GB, free: 95.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/6.12, allocations: 11.84 kB / 2.494 GB, free: 95.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/6.124, allocations: 1.046 MB / 2.495 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/6.126, allocations: 447.8 kB / 2.495 GB, free: 95.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/6.129, allocations: 2.21 MB / 2.497 GB, free: 94.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/6.134, allocations: 443.1 kB / 2.498 GB, free: 94.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/6.135, allocations: 106.1 kB / 2.498 GB, free: 94.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/6.135, allocations: 3.844 kB / 2.498 GB, free: 94.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004427/6.139, allocations: 2.106 MB / 2.5 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/6.139, allocations: 11.62 kB / 2.5 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/6.142, allocations: 1.046 MB / 2.501 GB, free: 94.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/6.145, allocations: 432.6 kB / 2.501 GB, free: 94.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/6.147, allocations: 2.199 MB / 2.503 GB, free: 93.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/6.152, allocations: 378.8 kB / 2.504 GB, free: 93.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/6.153, allocations: 113.5 kB / 2.504 GB, free: 93.01 MB / 0.9792 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007507/6.153, allocations: 216.9 kB / 2.504 GB, free: 92.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/6.154, allocations: 285.4 kB / 2.504 GB, free: 92.76 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/6.16, allocations: 1.764 MB / 2.506 GB, free: 92.66 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/6.16, allocations: 16.94 kB / 2.506 GB, free: 92.66 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/6.16, allocations: 8.688 kB / 2.506 GB, free: 92.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00401/6.164, allocations: 1.53 MB / 2.508 GB, free: 92.37 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/6.18, allocations: 6.446 MB / 2.514 GB, free: 90.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/6.18, allocations: 6.031 kB / 2.514 GB, free: 90.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/6.182, allocations: 276.7 kB / 2.514 GB, free: 90.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002987/6.185, allocations: 0.8867 MB / 2.515 GB, free: 90.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/6.185, allocations: 47.39 kB / 2.515 GB, free: 90.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/6.187, allocations: 1.97 MB / 2.517 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/6.187, allocations: 7.188 kB / 2.517 GB, free: 89.36 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00679/6.194, allocations: 3.43 MB / 2.52 GB, free: 87.95 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/6.196, allocations: 0.6536 MB / 2.521 GB, free: 87.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/6.198, allocations: 38.44 kB / 2.521 GB, free: 87.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004198/6.202, allocations: 295.7 kB / 2.521 GB, free: 87.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/6.202, allocations: 113.6 kB / 2.521 GB, free: 87.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/6.202, allocations: 70.22 kB / 2.522 GB, free: 87.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00394/6.206, allocations: 1.817 MB / 2.523 GB, free: 87.54 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/6.206, allocations: 3.062 kB / 2.523 GB, free: 87.54 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007567/6.214, allocations: 1.646 MB / 2.525 GB, free: 87.54 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003957/6.218, allocations: 1.507 MB / 2.526 GB, free: 87.26 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00613/6.224, allocations: 2.856 MB / 2.529 GB, free: 87.08 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/6.224, allocations: 5.094 kB / 2.529 GB, free: 87.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/6.226, allocations: 0.8012 MB / 2.53 GB, free: 87.06 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008895/6.235, allocations: 1.504 MB / 2.531 GB, free: 87.04 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/6.245, allocations: 3.664 MB / 2.535 GB, free: 85.94 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/6.247, allocations: 1.775 MB / 2.537 GB, free: 85.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005617/6.252, allocations: 0.8317 MB / 2.538 GB, free: 85.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/6.253, allocations: 187.6 kB / 2.538 GB, free: 85.16 MB / 0.9792 GB Notification: Performance of SimCode: time 5.62e-07/6.253, allocations: 0 / 2.538 GB, free: 85.16 MB / 0.9792 GB Notification: Performance of Templates: time 0.1603/6.413, allocations: 84.53 MB / 2.62 GB, free: 81.15 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (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)