Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.7 MB / 302.2 MB, free: 2.109 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.001159/0.001159, allocations: 180.4 kB / 371.6 MB, free: 3.379 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.868/1.868, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.0008555/0.0008554, allocations: 90.8 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.755e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.514/1.761, allocations: 424.7 MB / 1.395 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.762, allocations: 91.53 kB / 1.395 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.277/5.038, allocations: 1.042 GB / 2.436 GB, free: 25.06 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.933e-06/5.038, allocations: 0 / 2.436 GB, free: 25.06 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000356/5.039, allocations: 87.91 kB / 2.436 GB, free: 24.97 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.007836/5.047, allocations: 3.184 MB / 2.439 GB, free: 21.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/5.047, allocations: 8.031 kB / 2.439 GB, free: 21.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008397/5.055, allocations: 1.206 MB / 2.441 GB, free: 20.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007522/5.063, allocations: 3.294 MB / 2.444 GB, free: 17.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/5.063, allocations: 255.9 kB / 2.444 GB, free: 16.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000849/5.064, allocations: 231.9 kB / 2.444 GB, free: 16.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006727/5.071, allocations: 2.789 MB / 2.447 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.436e-05/5.071, allocations: 11.88 kB / 2.447 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005928/5.071, allocations: 104 kB / 2.447 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.604e-05/5.072, allocations: 71.92 kB / 2.447 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/5.076, allocations: 2.105 MB / 2.449 GB, free: 11.32 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.02188/5.098, allocations: 13.15 MB / 2.462 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/5.1, allocations: 1.168 MB / 2.463 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/5.101, allocations: 0.6234 MB / 2.464 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/5.103, allocations: 1.773 MB / 2.465 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/5.105, allocations: 0.9612 MB / 2.466 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 6.031e-06/5.105, allocations: 0 / 2.466 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=118): time 0.00583/5.111, allocations: 1.699 MB / 2.468 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004334/5.111, allocations: 0.9319 MB / 2.469 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005653/5.117, allocations: 2.25 MB / 2.471 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000526/5.117, allocations: 57.81 kB / 2.471 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/5.119, allocations: 1.372 MB / 2.473 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008746/5.12, allocations: 414.2 kB / 2.473 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/5.121, allocations: 32 kB / 2.473 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002485/5.121, allocations: 369.9 kB / 2.473 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/5.122, allocations: 0.6171 MB / 2.474 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/5.125, allocations: 1.244 MB / 2.475 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/5.126, allocations: 0.7717 MB / 2.476 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/5.126, allocations: 4 kB / 2.476 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005302/5.131, allocations: 2.231 MB / 2.478 GB, free: 12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001837/5.133, allocations: 5.027 MB / 2.483 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/5.133, allocations: 23.97 kB / 2.483 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/5.136, allocations: 0.6313 MB / 2.484 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/5.138, allocations: 0.4913 MB / 2.484 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/5.14, allocations: 1.692 MB / 2.486 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/5.146, allocations: 0.5208 MB / 2.486 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004084/5.146, allocations: 103.9 kB / 2.486 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/5.146, allocations: 5.562 kB / 2.486 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004534/5.151, allocations: 1.955 MB / 2.488 GB, free: 1.066 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/5.151, allocations: 8 kB / 2.488 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/5.153, allocations: 0.651 MB / 2.489 GB, free: 412 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7652/5.918, allocations: 475.6 kB / 2.489 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/5.92, allocations: 1.694 MB / 2.491 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/5.926, allocations: 441.4 kB / 2.491 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000483/5.926, allocations: 103.2 kB / 2.492 GB, free: 106.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006486/5.927, allocations: 219.8 kB / 2.492 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/5.928, allocations: 275.4 kB / 2.492 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/5.933, allocations: 1.702 MB / 2.494 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/5.933, allocations: 19.39 kB / 2.494 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/5.933, allocations: 6.766 kB / 2.494 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003913/5.937, allocations: 1.488 MB / 2.495 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/5.951, allocations: 6.42 MB / 2.501 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/5.951, allocations: 6.75 kB / 2.501 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/5.953, allocations: 292.6 kB / 2.502 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/5.955, allocations: 0.6282 MB / 2.502 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/5.955, allocations: 49.53 kB / 2.502 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/5.957, allocations: 1.687 MB / 2.504 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/5.957, allocations: 11.56 kB / 2.504 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/5.963, allocations: 3.278 MB / 2.507 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/5.966, allocations: 0.6569 MB / 2.508 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/5.967, allocations: 37.61 kB / 2.508 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003523/5.97, allocations: 279.5 kB / 2.508 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/5.97, allocations: 120.9 kB / 2.508 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/5.971, allocations: 72.22 kB / 2.508 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003639/5.974, allocations: 1.744 MB / 2.51 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/5.974, allocations: 0 / 2.51 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00739/5.982, allocations: 1.837 MB / 2.512 GB, free: 101.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003391/5.985, allocations: 1.485 MB / 2.513 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006117/5.991, allocations: 2.705 MB / 2.516 GB, free: 101 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.418e-05/5.991, allocations: 3.688 kB / 2.516 GB, free: 101 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/5.993, allocations: 0.7762 MB / 2.517 GB, free: 101 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008688/6.002, allocations: 1.396 MB / 2.518 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/6.013, allocations: 3.982 MB / 2.522 GB, free: 99.81 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/6.014, allocations: 1.776 MB / 2.524 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005327/6.019, allocations: 0.8585 MB / 2.525 GB, free: 99.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/6.02, allocations: 185.1 kB / 2.525 GB, free: 99.03 MB / 0.9792 GB Notification: Performance of SimCode: time 1.142e-06/6.02, allocations: 0 / 2.525 GB, free: 99.03 MB / 0.9792 GB Notification: Performance of Templates: time 0.1491/6.169, allocations: 77.81 MB / 2.601 GB, free: 95.55 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)