Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 285.4 MB / 298 MB, free: 6.016 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.0009929/0.0009929, allocations: 184.8 kB / 366.4 MB, free: 2.078 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.427/1.427, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.001029/0.001029, allocations: 89.77 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.704e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7109, allocations: 115.3 MB / 0.9709 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.755, allocations: 423.9 MB / 1.385 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.755, allocations: 88.7 kB / 1.385 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.884/5.639, allocations: 1.043 GB / 2.428 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/5.639, allocations: 0 / 2.428 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003587/5.639, allocations: 80.66 kB / 2.428 GB, free: 108.5 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01148/5.651, allocations: 3.204 MB / 2.431 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/5.651, allocations: 8.281 kB / 2.431 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009359/5.66, allocations: 1.218 MB / 2.432 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008335/5.669, allocations: 3.286 MB / 2.435 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/5.669, allocations: 254.2 kB / 2.435 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/5.669, allocations: 238.6 kB / 2.436 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/5.675, allocations: 2.824 MB / 2.438 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/5.675, allocations: 6.75 kB / 2.438 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/5.676, allocations: 103.7 kB / 2.439 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/5.676, allocations: 76.92 kB / 2.439 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004513/5.68, allocations: 2.145 MB / 2.441 GB, free: 106 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.02356/5.704, allocations: 13.36 MB / 2.454 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/5.706, allocations: 1.194 MB / 2.455 GB, free: 100 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009205/5.707, allocations: 0.6088 MB / 2.456 GB, free: 100 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/5.708, allocations: 1.778 MB / 2.457 GB, free: 98.05 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/5.71, allocations: 0.9507 MB / 2.458 GB, free: 97.76 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.737e-06/5.71, allocations: 0 / 2.458 GB, free: 97.76 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.01771/5.727, allocations: 10.05 MB / 2.468 GB, free: 91.71 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/5.728, allocations: 0.9419 MB / 2.469 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/5.732, allocations: 2.336 MB / 2.471 GB, free: 90.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004155/5.732, allocations: 63.33 kB / 2.471 GB, free: 90.31 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/5.733, allocations: 1.363 MB / 2.473 GB, free: 89.85 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/5.734, allocations: 421.4 kB / 2.473 GB, free: 89.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/5.734, allocations: 34.81 kB / 2.473 GB, free: 89.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001093/5.734, allocations: 368.2 kB / 2.473 GB, free: 89.29 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/5.735, allocations: 0.6052 MB / 2.474 GB, free: 89.28 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/5.737, allocations: 1.249 MB / 2.475 GB, free: 88.59 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/5.738, allocations: 0.7544 MB / 2.476 GB, free: 88.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/5.738, allocations: 7.578 kB / 2.476 GB, free: 88.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00448/5.742, allocations: 2.31 MB / 2.478 GB, free: 88.28 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009797/5.743, allocations: 5.258 MB / 2.483 GB, free: 82.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/5.743, allocations: 10.34 kB / 2.483 GB, free: 82.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/5.746, allocations: 0.8868 MB / 2.484 GB, free: 82.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/5.749, allocations: 452 kB / 2.485 GB, free: 82.78 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/5.751, allocations: 2.159 MB / 2.487 GB, free: 81.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/5.757, allocations: 430.4 kB / 2.487 GB, free: 81.69 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003665/5.757, allocations: 103.2 kB / 2.487 GB, free: 81.69 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/5.757, allocations: 5.125 kB / 2.487 GB, free: 81.69 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003468/5.761, allocations: 2.032 MB / 2.489 GB, free: 81.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/5.761, allocations: 14.66 kB / 2.489 GB, free: 81.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/5.763, allocations: 0.8818 MB / 2.49 GB, free: 81.58 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/5.766, allocations: 434.7 kB / 2.491 GB, free: 81.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/5.768, allocations: 2.16 MB / 2.493 GB, free: 80.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/5.773, allocations: 372.8 kB / 2.493 GB, free: 80.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/5.774, allocations: 107 kB / 2.493 GB, free: 80.49 MB / 0.9636 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 (152): * Single equations (assignments): 149 * 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 22,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006653/5.774, allocations: 218.6 kB / 2.493 GB, free: 80.38 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/5.775, allocations: 291 kB / 2.494 GB, free: 80.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/5.779, allocations: 1.72 MB / 2.495 GB, free: 80.11 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/5.779, allocations: 14.81 kB / 2.495 GB, free: 80.11 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/5.779, allocations: 7.469 kB / 2.495 GB, free: 80.11 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003028/5.782, allocations: 1.485 MB / 2.497 GB, free: 79.81 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/5.794, allocations: 6.277 MB / 2.503 GB, free: 77.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/5.794, allocations: 7.734 kB / 2.503 GB, free: 77.87 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/5.796, allocations: 284.3 kB / 2.503 GB, free: 77.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/5.798, allocations: 0.721 MB / 2.504 GB, free: 77.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/5.798, allocations: 48.05 kB / 2.504 GB, free: 77.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/5.8, allocations: 1.933 MB / 2.506 GB, free: 76.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/5.8, allocations: 10.59 kB / 2.506 GB, free: 76.79 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/5.805, allocations: 3.271 MB / 2.509 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/5.807, allocations: 0.6495 MB / 2.51 GB, free: 75.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/5.807, allocations: 39.11 kB / 2.51 GB, free: 75.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/5.81, allocations: 278.4 kB / 2.51 GB, free: 75.13 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/5.811, allocations: 115.2 kB / 2.51 GB, free: 75.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/5.811, allocations: 71.61 kB / 2.51 GB, free: 75.12 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002826/5.814, allocations: 1.817 MB / 2.512 GB, free: 74.96 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.71e-07/5.814, allocations: 0 / 2.512 GB, free: 74.96 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005957/5.82, allocations: 1.655 MB / 2.513 GB, free: 74.84 MB / 0.9636 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 (80): * Single equations (assignments): 74 * 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 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002906/5.822, allocations: 1.472 MB / 2.515 GB, free: 74.45 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006456/5.829, allocations: 2.97 MB / 2.518 GB, free: 74.24 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/5.829, allocations: 4.625 kB / 2.518 GB, free: 74.24 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/5.831, allocations: 0.866 MB / 2.519 GB, free: 74.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008638/5.84, allocations: 1.517 MB / 2.52 GB, free: 74.21 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/5.852, allocations: 3.888 MB / 2.524 GB, free: 73.09 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/5.854, allocations: 1.778 MB / 2.526 GB, free: 72.34 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006674/5.861, allocations: 0.8503 MB / 2.527 GB, free: 72.31 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007294/5.862, allocations: 188.6 kB / 2.527 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.814e-06/5.862, allocations: 0 / 2.527 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.1252/5.987, allocations: 81.9 MB / 2.607 GB, free: 67.66 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)