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.703/1.703, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001095/0.001094, allocations: 180.4 kB / 372.9 MB, free: 10.17 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.688/1.688, allocations: 205.4 MB / 0.6317 GB, free: 9.957 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.0008195/0.0008197, allocations: 90.22 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004488, allocations: 16.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.233, allocations: 424 MB / 1.395 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.233, allocations: 100 kB / 1.395 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.508/4.741, allocations: 1.029 GB / 2.424 GB, free: 66.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/4.741, allocations: 0 / 2.424 GB, free: 66.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002796/4.741, allocations: 79.91 kB / 2.424 GB, free: 66.04 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.008234/4.749, allocations: 3.676 MB / 2.428 GB, free: 62.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/4.749, allocations: 15.97 kB / 2.428 GB, free: 62.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008259/4.758, allocations: 1.212 MB / 2.429 GB, free: 61.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006509/4.764, allocations: 3.303 MB / 2.432 GB, free: 57.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/4.764, allocations: 259.8 kB / 2.432 GB, free: 57.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/4.765, allocations: 232 kB / 2.433 GB, free: 57.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/4.772, allocations: 3.192 MB / 2.436 GB, free: 53.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/4.772, allocations: 7.938 kB / 2.436 GB, free: 53.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/4.772, allocations: 107.9 kB / 2.436 GB, free: 53.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/4.772, allocations: 64 kB / 2.436 GB, free: 53.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008129/4.78, allocations: 2.807 MB / 2.439 GB, free: 50.76 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.01825/4.799, allocations: 13.28 MB / 2.452 GB, free: 36.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/4.802, allocations: 1.51 MB / 2.453 GB, free: 35.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/4.805, allocations: 0.8698 MB / 2.454 GB, free: 34.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/4.806, allocations: 1.781 MB / 2.456 GB, free: 32.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003065/4.809, allocations: 1.209 MB / 2.457 GB, free: 31.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.248e-06/4.809, allocations: 0 / 2.457 GB, free: 31.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=124): time 0.03478/4.844, allocations: 13.4 MB / 2.47 GB, free: 17.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003329/4.845, allocations: 0.9436 MB / 2.471 GB, free: 16.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/4.849, allocations: 2.625 MB / 2.473 GB, free: 13.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005002/4.85, allocations: 61.69 kB / 2.473 GB, free: 13.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/4.851, allocations: 1.365 MB / 2.475 GB, free: 12.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/4.851, allocations: 429.9 kB / 2.475 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/4.851, allocations: 28 kB / 2.475 GB, free: 11.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/4.851, allocations: 377.8 kB / 2.476 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/4.855, allocations: 0.929 MB / 2.476 GB, free: 10.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/4.858, allocations: 1.579 MB / 2.478 GB, free: 8.547 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00573/4.864, allocations: 2.162 MB / 2.48 GB, free: 6.211 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/4.864, allocations: 7.938 kB / 2.48 GB, free: 6.203 MB / 0.948 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008404/4.872, allocations: 2.998 MB / 2.483 GB, free: 3.184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/4.873, allocations: 0.4915 MB / 2.483 GB, free: 2.523 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/4.873, allocations: 12 kB / 2.484 GB, free: 2.512 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/4.875, allocations: 0.9304 MB / 2.484 GB, free: 1.582 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/4.878, allocations: 459.2 kB / 2.485 GB, free: 1.133 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/4.88, allocations: 2.182 MB / 2.487 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/4.885, allocations: 422.3 kB / 2.487 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/4.886, allocations: 115.9 kB / 2.487 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/4.886, allocations: 4 kB / 2.487 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008351/4.894, allocations: 2.657 MB / 2.49 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/4.894, allocations: 12 kB / 2.49 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/4.897, allocations: 0.9184 MB / 2.491 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/4.899, allocations: 455.2 kB / 2.491 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/4.903, allocations: 2.182 MB / 2.494 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/4.907, allocations: 359.2 kB / 2.494 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/4.908, allocations: 107.9 kB / 2.494 GB, free: 7.637 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.002436/4.91, allocations: 0.6998 MB / 2.495 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/4.911, allocations: 284.6 kB / 2.495 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009955/4.921, allocations: 2.361 MB / 2.497 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/4.921, allocations: 19.52 kB / 2.497 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/4.921, allocations: 7.938 kB / 2.497 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00826/4.929, allocations: 2.13 MB / 2.499 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/4.948, allocations: 6.898 MB / 2.506 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/4.948, allocations: 8 kB / 2.506 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/4.949, allocations: 304 kB / 2.506 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/4.952, allocations: 0.7843 MB / 2.507 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/4.952, allocations: 47.94 kB / 2.507 GB, free: 9.836 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/4.955, allocations: 1.96 MB / 2.509 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/4.955, allocations: 8 kB / 2.509 GB, free: 7.816 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/4.967, allocations: 3.584 MB / 2.513 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/4.97, allocations: 0.6417 MB / 2.513 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/4.971, allocations: 36 kB / 2.513 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004119/4.975, allocations: 283.6 kB / 2.514 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/4.975, allocations: 120.5 kB / 2.514 GB, free: 3.031 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/4.976, allocations: 75.91 kB / 2.514 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00481/4.981, allocations: 1.821 MB / 2.516 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.3e-07/4.981, allocations: 0 / 2.516 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.5535/5.534, allocations: 1.568 MB / 2.517 GB, free: 133.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (82): * Single equations (assignments): 76 * 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.003234/5.537, allocations: 1.366 MB / 2.518 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01289/5.55, allocations: 3.579 MB / 2.522 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.432e-05/5.55, allocations: 5.188 kB / 2.522 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003806/5.554, allocations: 1.05 MB / 2.523 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01237/5.566, allocations: 1.577 MB / 2.524 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/5.581, allocations: 6.021 MB / 2.53 GB, free: 131 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/5.583, allocations: 1.72 MB / 2.532 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004866/5.588, allocations: 0.6568 MB / 2.533 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/5.589, allocations: 245.8 kB / 2.533 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.223e-06/5.589, allocations: 1.312 kB / 2.533 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.1198/5.709, allocations: 79.17 MB / 2.61 GB, free: 126.5 MB / 0.9792 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)