Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001336/0.001335, allocations: 181.5 kB / 371.6 MB, free: 3.414 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.532/1.532, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001298/0.001298, allocations: 94.34 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.018e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.581/1.867, allocations: 424.8 MB / 1.395 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.868, allocations: 94.5 kB / 1.395 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.324/5.192, allocations: 1.043 GB / 2.437 GB, free: 24.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/5.192, allocations: 0 / 2.437 GB, free: 24.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002898/5.192, allocations: 91.91 kB / 2.438 GB, free: 24.2 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.007523/5.2, allocations: 3.194 MB / 2.441 GB, free: 20.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/5.2, allocations: 12.03 kB / 2.441 GB, free: 20.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00847/5.208, allocations: 1.221 MB / 2.442 GB, free: 19.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007568/5.216, allocations: 3.286 MB / 2.445 GB, free: 16.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/5.216, allocations: 251.9 kB / 2.445 GB, free: 16.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006615/5.217, allocations: 244 kB / 2.446 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/5.222, allocations: 2.818 MB / 2.448 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/5.222, allocations: 7.938 kB / 2.448 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/5.223, allocations: 108 kB / 2.448 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/5.223, allocations: 67.98 kB / 2.448 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/5.226, allocations: 2.137 MB / 2.451 GB, free: 10.45 MB / 0.948 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.02146/5.248, allocations: 13.36 MB / 2.464 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/5.25, allocations: 1.192 MB / 2.465 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000982/5.251, allocations: 0.6124 MB / 2.465 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/5.253, allocations: 1.785 MB / 2.467 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/5.254, allocations: 0.9471 MB / 2.468 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 4.057e-06/5.254, allocations: 0 / 2.468 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.01768/5.272, allocations: 10.04 MB / 2.478 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004076/5.273, allocations: 0.9358 MB / 2.479 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004277/5.277, allocations: 2.338 MB / 2.481 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004253/5.277, allocations: 65.8 kB / 2.481 GB, free: 9.617 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/5.279, allocations: 1.358 MB / 2.482 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/5.279, allocations: 425.9 kB / 2.483 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/5.279, allocations: 39.94 kB / 2.483 GB, free: 7.781 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001505/5.28, allocations: 365.9 kB / 2.483 GB, free: 7.418 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/5.281, allocations: 0.6053 MB / 2.484 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/5.282, allocations: 1.243 MB / 2.485 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/5.284, allocations: 0.7584 MB / 2.486 GB, free: 4.551 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/5.284, allocations: 8 kB / 2.486 GB, free: 4.543 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004573/5.288, allocations: 2.313 MB / 2.488 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.7658/6.054, allocations: 5.245 MB / 2.493 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/6.054, allocations: 12.06 kB / 2.493 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/6.057, allocations: 0.8723 MB / 2.494 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/6.06, allocations: 454.3 kB / 2.494 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/6.064, allocations: 2.166 MB / 2.497 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/6.069, allocations: 426.3 kB / 2.497 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004814/6.07, allocations: 107.8 kB / 2.497 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/6.07, allocations: 5.281 kB / 2.497 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004589/6.074, allocations: 2.025 MB / 2.499 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/6.074, allocations: 13.56 kB / 2.499 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/6.077, allocations: 0.8712 MB / 2.5 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/6.08, allocations: 439.6 kB / 2.5 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/6.084, allocations: 2.168 MB / 2.502 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005424/6.089, allocations: 366 kB / 2.503 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/6.09, allocations: 103.7 kB / 2.503 GB, free: 105.1 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 (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.0008066/6.09, allocations: 225.4 kB / 2.503 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/6.091, allocations: 283.5 kB / 2.503 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/6.097, allocations: 1.717 MB / 2.505 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/6.097, allocations: 16.8 kB / 2.505 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/6.097, allocations: 5.469 kB / 2.505 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004085/6.101, allocations: 1.49 MB / 2.507 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/6.116, allocations: 6.282 MB / 2.513 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/6.116, allocations: 5.281 kB / 2.513 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/6.118, allocations: 280.5 kB / 2.513 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/6.12, allocations: 0.7325 MB / 2.514 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/6.12, allocations: 50.36 kB / 2.514 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/6.123, allocations: 1.931 MB / 2.516 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/6.123, allocations: 13.12 kB / 2.516 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/6.128, allocations: 3.268 MB / 2.519 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/6.131, allocations: 0.6498 MB / 2.519 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006475/6.131, allocations: 33.34 kB / 2.519 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/6.135, allocations: 283.2 kB / 2.52 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/6.135, allocations: 111 kB / 2.52 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/6.135, allocations: 73.55 kB / 2.52 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003076/6.138, allocations: 1.816 MB / 2.522 GB, free: 100 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.182e-06/6.138, allocations: 2.906 kB / 2.522 GB, free: 100 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006765/6.145, allocations: 1.652 MB / 2.523 GB, free: 100 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 (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.003342/6.148, allocations: 1.485 MB / 2.525 GB, free: 99.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0071/6.155, allocations: 2.972 MB / 2.528 GB, free: 99.56 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.78e-05/6.155, allocations: 4.625 kB / 2.528 GB, free: 99.56 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/6.158, allocations: 0.8688 MB / 2.529 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/6.168, allocations: 1.505 MB / 2.53 GB, free: 99.53 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/6.178, allocations: 3.878 MB / 2.534 GB, free: 98.42 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/6.179, allocations: 1.779 MB / 2.536 GB, free: 97.68 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004681/6.184, allocations: 0.8417 MB / 2.536 GB, free: 97.65 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/6.184, allocations: 192.3 kB / 2.537 GB, free: 97.65 MB / 0.9792 GB Notification: Performance of SimCode: time 7.92e-07/6.184, allocations: 0 / 2.537 GB, free: 97.65 MB / 0.9792 GB Notification: Performance of Templates: time 0.1461/6.331, allocations: 81.9 MB / 2.617 GB, free: 93.72 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)