Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.875/1.875, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001211/0.001211, allocations: 189 kB / 371.8 MB, free: 10.27 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.716/1.716, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001243/0.001244, allocations: 93.16 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 16.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.277, allocations: 424.3 MB / 1.394 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.278, allocations: 97.64 kB / 1.394 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.222/5.499, allocations: 1.045 GB / 2.439 GB, free: 50.58 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.557e-06/5.499, allocations: 0 / 2.439 GB, free: 50.58 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006104/5.5, allocations: 75.98 kB / 2.439 GB, free: 50.51 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.01351/5.514, allocations: 3.693 MB / 2.443 GB, free: 46.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/5.514, allocations: 8.031 kB / 2.443 GB, free: 46.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001552/5.515, allocations: 332.8 kB / 2.443 GB, free: 46.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/5.526, allocations: 1.317 MB / 2.444 GB, free: 45.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/5.536, allocations: 3.326 MB / 2.447 GB, free: 41.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004509/5.537, allocations: 259.9 kB / 2.448 GB, free: 41.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/5.538, allocations: 239.9 kB / 2.448 GB, free: 41.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/5.55, allocations: 3.204 MB / 2.451 GB, free: 37.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/5.55, allocations: 11.84 kB / 2.451 GB, free: 37.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/5.551, allocations: 104 kB / 2.451 GB, free: 37.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/5.551, allocations: 63.98 kB / 2.451 GB, free: 37.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/5.562, allocations: 2.882 MB / 2.454 GB, free: 34.68 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.0265/5.589, allocations: 13.33 MB / 2.467 GB, free: 20.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/5.593, allocations: 1.595 MB / 2.469 GB, free: 19.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/5.595, allocations: 1.785 MB / 2.47 GB, free: 17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00393/5.599, allocations: 1.277 MB / 2.472 GB, free: 15.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=122): time 7.725e-06/5.599, allocations: 0 / 2.472 GB, free: 15.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.04204/5.641, allocations: 6.129 MB / 2.478 GB, free: 9.438 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003968/5.641, allocations: 0.9397 MB / 2.478 GB, free: 8.277 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007645/5.649, allocations: 2.328 MB / 2.481 GB, free: 5.938 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008889/5.65, allocations: 61.69 kB / 2.481 GB, free: 5.871 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/5.652, allocations: 1.367 MB / 2.482 GB, free: 4.488 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/5.653, allocations: 433.9 kB / 2.483 GB, free: 4.059 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/5.654, allocations: 36 kB / 2.483 GB, free: 4.023 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002383/5.654, allocations: 365.9 kB / 2.483 GB, free: 3.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/5.658, allocations: 1.003 MB / 2.484 GB, free: 2.656 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/5.663, allocations: 1.618 MB / 2.485 GB, free: 0.7891 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/5.667, allocations: 1.13 MB / 2.487 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/5.667, allocations: 4 kB / 2.487 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02016/5.688, allocations: 3.65 MB / 2.49 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002858/5.691, allocations: 5.035 MB / 2.495 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.025e-05/5.691, allocations: 8 kB / 2.495 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003742/5.694, allocations: 0.9613 MB / 2.496 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/5.698, allocations: 499.2 kB / 2.497 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/5.701, allocations: 1.987 MB / 2.498 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/5.708, allocations: 0.5361 MB / 2.499 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006823/5.709, allocations: 110 kB / 2.499 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/5.709, allocations: 5.25 kB / 2.499 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01867/5.727, allocations: 3.324 MB / 2.502 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/5.728, allocations: 12 kB / 2.502 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/5.731, allocations: 0.9597 MB / 2.503 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/5.734, allocations: 483.2 kB / 2.504 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/5.738, allocations: 1.989 MB / 2.506 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/5.743, allocations: 457.7 kB / 2.506 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005604/5.744, allocations: 107.9 kB / 2.506 GB, free: 11.06 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 () * 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.002796/5.747, allocations: 0.7003 MB / 2.507 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/5.748, allocations: 276.8 kB / 2.507 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/5.766, allocations: 2.944 MB / 2.51 GB, free: 7.113 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/5.766, allocations: 19.95 kB / 2.51 GB, free: 7.094 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/5.766, allocations: 4 kB / 2.51 GB, free: 7.09 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01647/5.783, allocations: 2.712 MB / 2.513 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8319/6.615, allocations: 7.652 MB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/6.615, allocations: 6.906 kB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/6.617, allocations: 292.1 kB / 2.52 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/6.621, allocations: 0.9338 MB / 2.521 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/6.621, allocations: 51.06 kB / 2.521 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/6.625, allocations: 1.989 MB / 2.523 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/6.625, allocations: 9.969 kB / 2.523 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/6.639, allocations: 4.314 MB / 2.528 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003772/6.643, allocations: 0.6697 MB / 2.528 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/6.645, allocations: 38.58 kB / 2.528 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005515/6.651, allocations: 292.7 kB / 2.529 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/6.651, allocations: 113.6 kB / 2.529 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004182/6.651, allocations: 71.14 kB / 2.529 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007161/6.659, allocations: 1.83 MB / 2.531 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.11e-07/6.659, allocations: 0 / 2.531 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0118/6.67, allocations: 1.855 MB / 2.532 GB, free: 126.5 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) * Number of clocked states: 0 () * 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02166/6.692, allocations: 7.872 MB / 2.54 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01611/6.708, allocations: 3.654 MB / 2.544 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.467e-05/6.708, allocations: 4.656 kB / 2.544 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004774/6.713, allocations: 1.09 MB / 2.545 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/6.723, allocations: 1.41 MB / 2.546 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06911/6.793, allocations: 27.02 MB / 2.572 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/6.796, allocations: 1.769 MB / 2.574 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006105/6.802, allocations: 0.6984 MB / 2.575 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/6.805, allocations: 1.151 MB / 2.576 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.102e-05/6.805, allocations: 0 / 2.576 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2258/7.031, allocations: 102.2 MB / 2.676 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/7.031, allocations: 280.8 kB / 2.676 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.887/12.92, allocations: 0 / 2.676 GB, free: 101.1 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)