Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 287.5 MB / 303.2 MB, free: 8.305 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.001313/0.001313, allocations: 182.5 kB / 371.8 MB, free: 10.81 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.042/2.042, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009422/0.0009414, allocations: 100.9 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 15 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.492, allocations: 423.7 MB / 1.393 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.493, allocations: 96.77 kB / 1.393 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.296/6.789, allocations: 1.028 GB / 2.421 GB, free: 70.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.495e-06/6.789, allocations: 0 / 2.421 GB, free: 70.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004611/6.789, allocations: 79.97 kB / 2.421 GB, free: 70.07 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.01273/6.802, allocations: 3.656 MB / 2.425 GB, free: 66.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/6.802, allocations: 12.03 kB / 2.425 GB, free: 66.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/6.818, allocations: 1.207 MB / 2.426 GB, free: 65.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/6.828, allocations: 3.317 MB / 2.429 GB, free: 61.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/6.829, allocations: 250.4 kB / 2.429 GB, free: 61.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008444/6.83, allocations: 232 kB / 2.43 GB, free: 61.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/6.843, allocations: 3.153 MB / 2.433 GB, free: 57.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.882e-05/6.843, allocations: 7.938 kB / 2.433 GB, free: 57.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005171/6.843, allocations: 99.98 kB / 2.433 GB, free: 57.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.716e-05/6.843, allocations: 71.94 kB / 2.433 GB, free: 57.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/6.86, allocations: 2.772 MB / 2.435 GB, free: 54.9 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.03075/6.891, allocations: 13.06 MB / 2.448 GB, free: 41.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007143/6.898, allocations: 1.617 MB / 2.45 GB, free: 39.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005421/6.903, allocations: 0.9256 MB / 2.451 GB, free: 38.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/6.905, allocations: 1.785 MB / 2.452 GB, free: 36.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006102/6.912, allocations: 1.181 MB / 2.454 GB, free: 35.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 5.911e-06/6.912, allocations: 0 / 2.454 GB, free: 35.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.03773/6.949, allocations: 4.344 MB / 2.458 GB, free: 30.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/6.95, allocations: 0.6307 MB / 2.458 GB, free: 30.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/6.955, allocations: 2.469 MB / 2.461 GB, free: 27.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005832/6.956, allocations: 61.7 kB / 2.461 GB, free: 27.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/6.958, allocations: 1.336 MB / 2.462 GB, free: 26.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/6.958, allocations: 437.7 kB / 2.463 GB, free: 25.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/6.958, allocations: 32 kB / 2.463 GB, free: 25.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001291/6.959, allocations: 373.8 kB / 2.463 GB, free: 25.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/6.965, allocations: 0.9485 MB / 2.464 GB, free: 24.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006994/6.972, allocations: 1.544 MB / 2.465 GB, free: 22.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/6.984, allocations: 2.179 MB / 2.468 GB, free: 20.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/6.984, allocations: 4 kB / 2.468 GB, free: 20.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01958/7.004, allocations: 3.011 MB / 2.471 GB, free: 17.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/7.004, allocations: 486.9 kB / 2.471 GB, free: 16.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/7.004, allocations: 12 kB / 2.471 GB, free: 16.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/7.008, allocations: 0.7128 MB / 2.472 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005047/7.013, allocations: 479.2 kB / 2.472 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/7.016, allocations: 1.801 MB / 2.474 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008544/7.025, allocations: 0.4974 MB / 2.474 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/7.025, allocations: 103.9 kB / 2.475 GB, free: 12.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/7.025, allocations: 4 kB / 2.475 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01801/7.043, allocations: 2.681 MB / 2.477 GB, free: 10.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/7.043, allocations: 20.17 kB / 2.477 GB, free: 10.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003769/7.047, allocations: 0.7216 MB / 2.478 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/7.052, allocations: 467.2 kB / 2.478 GB, free: 9.094 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/7.056, allocations: 1.803 MB / 2.48 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/7.063, allocations: 426 kB / 2.48 GB, free: 6.828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006387/7.064, allocations: 111.9 kB / 2.481 GB, free: 6.719 MB / 0.948 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 () * Number of clocked 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.002511/7.067, allocations: 0.6881 MB / 2.481 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/7.068, allocations: 276.7 kB / 2.482 GB, free: 5.746 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/7.085, allocations: 2.42 MB / 2.484 GB, free: 3.301 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/7.085, allocations: 16 kB / 2.484 GB, free: 3.285 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/7.085, allocations: 0 / 2.484 GB, free: 3.285 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0149/7.1, allocations: 2.064 MB / 2.486 GB, free: 1.168 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02945/7.129, allocations: 6.484 MB / 2.492 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.871e-05/7.129, allocations: 4 kB / 2.492 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/7.133, allocations: 307.6 kB / 2.493 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00419/7.137, allocations: 0.72 MB / 2.493 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004129/7.138, allocations: 51.94 kB / 2.493 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/7.142, allocations: 1.788 MB / 2.495 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/7.142, allocations: 11.94 kB / 2.495 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0248/7.167, allocations: 3.698 MB / 2.499 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/7.17, allocations: 0.6378 MB / 2.499 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/7.171, allocations: 43.92 kB / 2.499 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007013/7.178, allocations: 295.4 kB / 2.5 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/7.179, allocations: 116.7 kB / 2.5 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003378/7.179, allocations: 75.91 kB / 2.5 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00607/7.185, allocations: 1.727 MB / 2.501 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.283e-06/7.185, allocations: 4 kB / 2.501 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009997/7.195, allocations: 1.746 MB / 2.503 GB, free: 15.07 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.004352/7.199, allocations: 1.377 MB / 2.505 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02288/7.222, allocations: 3.5 MB / 2.508 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-05/7.222, allocations: 4.719 kB / 2.508 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00704/7.229, allocations: 1.067 MB / 2.509 GB, free: 9.176 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01841/7.248, allocations: 1.469 MB / 2.51 GB, free: 7.762 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/7.273, allocations: 6.153 MB / 2.516 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7484/8.022, allocations: 1.704 MB / 2.518 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006788/8.028, allocations: 0.6869 MB / 2.519 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/8.03, allocations: 244.7 kB / 2.519 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.262e-06/8.03, allocations: 0 / 2.519 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.1831/8.213, allocations: 72.63 MB / 2.59 GB, free: 127.4 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)