Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.646/2.646, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001594/0.001594, allocations: 180.9 kB / 370.8 MB, free: 10.85 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.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001165/0.001164, allocations: 101.1 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004873, allocations: 11.89 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2284, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.565, allocations: 424.3 MB / 1.393 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/1.565, allocations: 99 kB / 1.393 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.973/7.539, allocations: 1.045 GB / 2.438 GB, free: 52.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/7.539, allocations: 0 / 2.438 GB, free: 52.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004982/7.539, allocations: 79.92 kB / 2.438 GB, free: 52.84 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01542/7.555, allocations: 3.698 MB / 2.442 GB, free: 49.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/7.555, allocations: 16.03 kB / 2.442 GB, free: 49.03 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/7.556, allocations: 328.7 kB / 2.442 GB, free: 48.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/7.575, allocations: 1.319 MB / 2.443 GB, free: 47.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/7.586, allocations: 3.314 MB / 2.447 GB, free: 43.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/7.587, allocations: 259.9 kB / 2.447 GB, free: 43.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/7.588, allocations: 232 kB / 2.447 GB, free: 43.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/7.602, allocations: 3.207 MB / 2.45 GB, free: 40.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/7.602, allocations: 10.88 kB / 2.45 GB, free: 40.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005276/7.602, allocations: 100 kB / 2.45 GB, free: 39.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.872e-05/7.602, allocations: 67.98 kB / 2.45 GB, free: 39.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/7.621, allocations: 2.878 MB / 2.453 GB, free: 37.02 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.03513/7.656, allocations: 13.52 MB / 2.466 GB, free: 22.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/7.664, allocations: 1.584 MB / 2.468 GB, free: 21.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/7.666, allocations: 1.777 MB / 2.47 GB, free: 19.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00691/7.673, allocations: 1.261 MB / 2.471 GB, free: 17.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 6.241e-06/7.673, allocations: 0 / 2.471 GB, free: 17.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.1249/7.798, allocations: 16.25 MB / 2.487 GB, free: 1.312 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002911/7.798, allocations: 0.9358 MB / 2.488 GB, free: 156 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007616/7.806, allocations: 2.423 MB / 2.49 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006408/7.807, allocations: 67.12 kB / 2.49 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002282/7.809, allocations: 1.351 MB / 2.492 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009517/7.81, allocations: 430 kB / 2.492 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/7.81, allocations: 32 kB / 2.492 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002141/7.81, allocations: 369.9 kB / 2.492 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007657/7.818, allocations: 0.9797 MB / 2.493 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008905/7.827, allocations: 1.615 MB / 2.495 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008357/7.836, allocations: 1.114 MB / 2.496 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/7.836, allocations: 4 kB / 2.496 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.02117/7.857, allocations: 3.128 MB / 2.499 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00236/7.859, allocations: 5.252 MB / 2.504 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/7.859, allocations: 12 kB / 2.504 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006944/7.866, allocations: 1.157 MB / 2.505 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/7.872, allocations: 447.2 kB / 2.506 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007028/7.879, allocations: 2.385 MB / 2.508 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009619/7.888, allocations: 439 kB / 2.508 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005645/7.889, allocations: 107.9 kB / 2.509 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/7.889, allocations: 4 kB / 2.509 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01807/7.907, allocations: 2.786 MB / 2.511 GB, free: 7.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/7.907, allocations: 12 kB / 2.511 GB, free: 7.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006453/7.914, allocations: 1.158 MB / 2.512 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004987/7.919, allocations: 431.2 kB / 2.513 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006976/7.926, allocations: 2.378 MB / 2.515 GB, free: 3.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008584/7.934, allocations: 367.3 kB / 2.516 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/7.935, allocations: 103.9 kB / 2.516 GB, free: 2.875 MB / 0.9792 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 (148): * Single equations (assignments): 145 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002639/7.937, allocations: 0.7042 MB / 2.516 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/7.939, allocations: 280.6 kB / 2.517 GB, free: 1.883 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8489/8.788, allocations: 2.416 MB / 2.519 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-05/8.788, allocations: 16.23 kB / 2.519 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/8.788, allocations: 4.562 kB / 2.519 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01878/8.806, allocations: 2.185 MB / 2.521 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03459/8.841, allocations: 7.145 MB / 2.528 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/8.841, allocations: 6.156 kB / 2.528 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003719/8.845, allocations: 271.9 kB / 2.528 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006842/8.852, allocations: 1.021 MB / 2.529 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000459/8.852, allocations: 52.53 kB / 2.529 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/8.859, allocations: 2.146 MB / 2.531 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/8.859, allocations: 10.88 kB / 2.531 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/8.887, allocations: 4.351 MB / 2.536 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003264/8.89, allocations: 0.6672 MB / 2.536 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/8.892, allocations: 36.56 kB / 2.536 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007817/8.9, allocations: 292.1 kB / 2.537 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/8.9, allocations: 108 kB / 2.537 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003795/8.901, allocations: 73.72 kB / 2.537 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.008477/8.909, allocations: 1.901 MB / 2.539 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.52e-07/8.909, allocations: 2.844 kB / 2.539 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0125/8.922, allocations: 1.654 MB / 2.54 GB, free: 128.1 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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03173/8.954, allocations: 7.763 MB / 2.548 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02428/8.978, allocations: 3.68 MB / 2.552 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.117e-05/8.978, allocations: 7.438 kB / 2.552 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007578/8.986, allocations: 1.094 MB / 2.553 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01351/8.999, allocations: 1.504 MB / 2.554 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08461/9.084, allocations: 27.58 MB / 2.581 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002629/9.087, allocations: 1.772 MB / 2.583 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006487/9.093, allocations: 0.6483 MB / 2.583 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/9.097, allocations: 1.158 MB / 2.584 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.783e-06/9.097, allocations: 2.531 kB / 2.584 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3223/9.419, allocations: 106.6 MB / 2.689 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/9.42, allocations: 258.6 kB / 2.689 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/17.64, allocations: 2.438 kB / 2.689 GB, free: 102.5 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)