Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.5/2.5, allocations: 287.5 MB / 303.2 MB, free: 8.188 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.002055/0.002054, allocations: 186.1 kB / 371.8 MB, free: 10.84 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.035/2.035, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.00095/0.0009495, allocations: 90.34 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004702, allocations: 15.47 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.492, allocations: 424.2 MB / 1.394 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.492, allocations: 103.5 kB / 1.394 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.341/6.834, allocations: 1.028 GB / 2.422 GB, free: 69.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.055e-06/6.834, allocations: 0 / 2.422 GB, free: 69.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005101/6.834, allocations: 79.92 kB / 2.422 GB, free: 69.45 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01431/6.849, allocations: 3.66 MB / 2.425 GB, free: 65.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/6.849, allocations: 8.031 kB / 2.425 GB, free: 65.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/6.867, allocations: 1.32 MB / 2.427 GB, free: 64.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/6.877, allocations: 3.318 MB / 2.43 GB, free: 60.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/6.878, allocations: 255.9 kB / 2.43 GB, free: 60.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009286/6.879, allocations: 235.9 kB / 2.43 GB, free: 60.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/6.892, allocations: 3.224 MB / 2.433 GB, free: 57.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-05/6.893, allocations: 7.938 kB / 2.433 GB, free: 57.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/6.893, allocations: 103.9 kB / 2.434 GB, free: 56.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/6.893, allocations: 71.92 kB / 2.434 GB, free: 56.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/6.911, allocations: 2.882 MB / 2.436 GB, free: 53.96 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.03278/6.944, allocations: 13.25 MB / 2.449 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007938/6.952, allocations: 1.717 MB / 2.451 GB, free: 38.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006158/6.958, allocations: 0.9877 MB / 2.452 GB, free: 37.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/6.96, allocations: 1.778 MB / 2.454 GB, free: 35.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006951/6.967, allocations: 1.254 MB / 2.455 GB, free: 33.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=130): time 6.823e-06/6.967, allocations: 3.938 kB / 2.455 GB, free: 33.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=130): time 0.07652/7.044, allocations: 6.202 MB / 2.461 GB, free: 27.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/7.044, allocations: 0.6307 MB / 2.462 GB, free: 26.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/7.05, allocations: 2.469 MB / 2.464 GB, free: 24.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006352/7.051, allocations: 65.7 kB / 2.464 GB, free: 24.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/7.052, allocations: 1.332 MB / 2.465 GB, free: 23.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007438/7.053, allocations: 457.5 kB / 2.466 GB, free: 22.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/7.053, allocations: 32 kB / 2.466 GB, free: 22.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/7.054, allocations: 365.9 kB / 2.466 GB, free: 22.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006922/7.06, allocations: 1.003 MB / 2.467 GB, free: 21.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007695/7.068, allocations: 1.606 MB / 2.469 GB, free: 19.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/7.081, allocations: 2.272 MB / 2.471 GB, free: 16.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/7.081, allocations: 4 kB / 2.471 GB, free: 16.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.03563/7.117, allocations: 3.721 MB / 2.475 GB, free: 13.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002745/7.117, allocations: 479.1 kB / 2.475 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/7.117, allocations: 12 kB / 2.475 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005277/7.123, allocations: 0.9576 MB / 2.476 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005021/7.128, allocations: 483.2 kB / 2.477 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/7.133, allocations: 2.004 MB / 2.478 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00897/7.142, allocations: 0.5131 MB / 2.479 GB, free: 8.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006509/7.142, allocations: 107.8 kB / 2.479 GB, free: 8.395 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/7.142, allocations: 4 kB / 2.479 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03391/7.176, allocations: 3.397 MB / 2.482 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/7.176, allocations: 12 kB / 2.482 GB, free: 4.969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005205/7.182, allocations: 0.9627 MB / 2.483 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/7.187, allocations: 471.2 kB / 2.484 GB, free: 3.574 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/7.192, allocations: 1.989 MB / 2.486 GB, free: 1.535 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007946/7.2, allocations: 442 kB / 2.486 GB, free: 1.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/7.2, allocations: 115.8 kB / 2.486 GB, free: 0.9883 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002239/7.202, allocations: 0.6881 MB / 2.487 GB, free: 296 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009655/7.203, allocations: 276.7 kB / 2.487 GB, free: 16 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03098/7.234, allocations: 3.096 MB / 2.49 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/7.234, allocations: 16 kB / 2.49 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/7.234, allocations: 0 / 2.49 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.029/7.263, allocations: 2.711 MB / 2.493 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03808/7.302, allocations: 7.163 MB / 2.5 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/7.302, allocations: 10.38 kB / 2.5 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003611/7.305, allocations: 308 kB / 2.5 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005485/7.311, allocations: 0.9403 MB / 2.501 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/7.311, allocations: 55.88 kB / 2.501 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005492/7.317, allocations: 1.978 MB / 2.503 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-05/7.317, allocations: 15.88 kB / 2.503 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0448/7.361, allocations: 4.725 MB / 2.508 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/7.364, allocations: 0.6572 MB / 2.508 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007356/7.365, allocations: 44 kB / 2.508 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006308/7.371, allocations: 307.5 kB / 2.509 GB, free: 9.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/7.372, allocations: 120.7 kB / 2.509 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/7.372, allocations: 75.92 kB / 2.509 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004935/7.377, allocations: 1.735 MB / 2.511 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.51e-07/7.377, allocations: 0 / 2.511 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008004/7.385, allocations: 1.754 MB / 2.512 GB, free: 5.828 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/7.389, allocations: 1.411 MB / 2.514 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02261/7.411, allocations: 3.669 MB / 2.517 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-05/7.411, allocations: 4.719 kB / 2.517 GB, free: 0.8008 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.7625/8.174, allocations: 1.118 MB / 2.518 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01837/8.192, allocations: 1.471 MB / 2.52 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/8.214, allocations: 5.994 MB / 2.526 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/8.218, allocations: 1.717 MB / 2.527 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007243/8.225, allocations: 0.6874 MB / 2.528 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/8.227, allocations: 242.9 kB / 2.528 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of SimCode: time 9.31e-07/8.227, allocations: 0.9375 kB / 2.528 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.1893/8.416, allocations: 75.27 MB / 2.602 GB, free: 127.9 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)