Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.529/2.529, allocations: 287.5 MB / 303.2 MB, free: 8.316 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.001477/0.001477, allocations: 187 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6305 GB, free: 10.49 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.000973/0.0009726, allocations: 90.95 kB / 0.7438 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006386, allocations: 11.62 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.216, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.497, allocations: 423.9 MB / 1.393 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.498, allocations: 99.45 kB / 1.393 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.304/6.802, allocations: 1.029 GB / 2.422 GB, free: 69.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.935e-06/6.802, allocations: 0 / 2.422 GB, free: 69.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004938/6.802, allocations: 79.86 kB / 2.422 GB, free: 69.3 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.01354/6.816, allocations: 3.679 MB / 2.426 GB, free: 65.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/6.816, allocations: 12.03 kB / 2.426 GB, free: 65.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/6.832, allocations: 1.212 MB / 2.427 GB, free: 64.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/6.842, allocations: 3.314 MB / 2.43 GB, free: 60.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/6.842, allocations: 251.9 kB / 2.431 GB, free: 60.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000966/6.843, allocations: 236 kB / 2.431 GB, free: 60.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/6.857, allocations: 3.192 MB / 2.434 GB, free: 57.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/6.858, allocations: 7.938 kB / 2.434 GB, free: 57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007369/6.858, allocations: 104 kB / 2.434 GB, free: 56.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/6.858, allocations: 71.98 kB / 2.434 GB, free: 56.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/6.875, allocations: 2.803 MB / 2.437 GB, free: 54.01 MB / 0.948 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.03233/6.908, allocations: 13.27 MB / 2.45 GB, free: 40.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007492/6.915, allocations: 1.626 MB / 2.451 GB, free: 38.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005662/6.921, allocations: 0.9049 MB / 2.452 GB, free: 37.62 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/6.923, allocations: 1.787 MB / 2.454 GB, free: 35.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006456/6.93, allocations: 1.174 MB / 2.455 GB, free: 34.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 5.911e-06/6.93, allocations: 4 kB / 2.455 GB, free: 34.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=132): time 0.06195/6.992, allocations: 10.06 MB / 2.465 GB, free: 23.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/6.992, allocations: 0.6229 MB / 2.466 GB, free: 23.22 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/6.999, allocations: 2.581 MB / 2.468 GB, free: 20.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005562/6.999, allocations: 61.7 kB / 2.468 GB, free: 20.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/7.001, allocations: 1.343 MB / 2.47 GB, free: 19.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000771/7.002, allocations: 461.5 kB / 2.47 GB, free: 18.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/7.002, allocations: 36 kB / 2.47 GB, free: 18.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001258/7.002, allocations: 361.9 kB / 2.47 GB, free: 18.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006639/7.009, allocations: 0.9329 MB / 2.471 GB, free: 17.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007368/7.016, allocations: 1.56 MB / 2.473 GB, free: 15.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/7.029, allocations: 2.188 MB / 2.475 GB, free: 13.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/7.029, allocations: 4 kB / 2.475 GB, free: 13.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01732/7.046, allocations: 2.995 MB / 2.478 GB, free: 10.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/7.047, allocations: 497 kB / 2.478 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/7.047, allocations: 12 kB / 2.478 GB, free: 9.535 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004713/7.052, allocations: 0.9182 MB / 2.479 GB, free: 8.621 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004979/7.057, allocations: 463.2 kB / 2.48 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/7.061, allocations: 2.193 MB / 2.482 GB, free: 5.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00872/7.07, allocations: 403.2 kB / 2.482 GB, free: 5.531 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/7.071, allocations: 99.91 kB / 2.482 GB, free: 5.434 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/7.071, allocations: 4 kB / 2.482 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01555/7.086, allocations: 2.661 MB / 2.485 GB, free: 2.758 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/7.086, allocations: 16 kB / 2.485 GB, free: 2.742 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004468/7.091, allocations: 0.9256 MB / 2.486 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/7.095, allocations: 451.2 kB / 2.486 GB, free: 1.379 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/7.1, allocations: 2.187 MB / 2.488 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008199/7.109, allocations: 355.2 kB / 2.489 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007218/7.109, allocations: 99.91 kB / 2.489 GB, free: 14.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.003133/7.113, allocations: 0.6962 MB / 2.49 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/7.114, allocations: 292.6 kB / 2.49 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/7.133, allocations: 2.503 MB / 2.492 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/7.133, allocations: 16 kB / 2.492 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/7.133, allocations: 6.188 kB / 2.492 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01624/7.149, allocations: 2.141 MB / 2.494 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02902/7.178, allocations: 6.435 MB / 2.501 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/7.179, allocations: 8.094 kB / 2.501 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003704/7.182, allocations: 303.6 kB / 2.501 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004632/7.187, allocations: 0.7876 MB / 2.502 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003865/7.187, allocations: 47.95 kB / 2.502 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/7.192, allocations: 1.959 MB / 2.504 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/7.192, allocations: 11.94 kB / 2.504 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/7.215, allocations: 3.669 MB / 2.507 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/7.218, allocations: 0.6456 MB / 2.508 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/7.22, allocations: 35.94 kB / 2.508 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007102/7.227, allocations: 294.3 kB / 2.508 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/7.227, allocations: 124.6 kB / 2.508 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003436/7.228, allocations: 79.91 kB / 2.508 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006245/7.234, allocations: 1.808 MB / 2.51 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.21e-07/7.234, allocations: 0 / 2.51 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009715/7.244, allocations: 1.562 MB / 2.512 GB, free: 6.832 MB / 0.9792 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (86): * Single equations (assignments): 80 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00432/7.248, allocations: 1.375 MB / 2.513 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02323/7.271, allocations: 3.581 MB / 2.517 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/7.271, allocations: 8.656 kB / 2.517 GB, free: 1.914 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007148/7.279, allocations: 1.083 MB / 2.518 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.7627/8.041, allocations: 1.598 MB / 2.519 GB, free: 135.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/8.065, allocations: 6.043 MB / 2.525 GB, free: 132.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/8.068, allocations: 1.72 MB / 2.527 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007063/8.075, allocations: 0.6612 MB / 2.527 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/8.077, allocations: 250.2 kB / 2.528 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.122e-06/8.077, allocations: 1.969 kB / 2.528 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.2014/8.278, allocations: 78.76 MB / 2.605 GB, free: 128.7 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)