Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.702/2.702, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.00162/0.00162, allocations: 176.8 kB / 360.6 MB, free: 7.312 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.195/2.195, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001121/0.00112, allocations: 93.8 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.083e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8423, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/2.203, allocations: 421.7 MB / 1.375 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/2.204, allocations: 93.05 kB / 1.375 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.517/4.72, allocations: 0.5447 GB / 1.92 GB, free: 48.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/4.72, allocations: 4 kB / 1.92 GB, free: 48.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001776/4.721, allocations: 43.98 kB / 1.92 GB, free: 48.15 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005296/4.726, allocations: 1.84 MB / 1.922 GB, free: 46.25 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/4.726, allocations: 8.031 kB / 1.922 GB, free: 46.24 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009152/4.735, allocations: 0.6731 MB / 1.923 GB, free: 45.57 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/4.74, allocations: 1.762 MB / 1.924 GB, free: 43.75 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/4.741, allocations: 84.03 kB / 1.924 GB, free: 43.66 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/4.741, allocations: 75.95 kB / 1.924 GB, free: 43.58 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003005/4.744, allocations: 1.039 MB / 1.925 GB, free: 42.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/4.747, allocations: 1.276 MB / 1.927 GB, free: 41.16 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/4.747, allocations: 0 / 1.927 GB, free: 41.16 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/4.747, allocations: 4 kB / 1.927 GB, free: 41.16 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.448e-05/4.747, allocations: 35.94 kB / 1.927 GB, free: 41.12 MB / 0.9323 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.01595/4.763, allocations: 6.817 MB / 1.933 GB, free: 34 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/4.765, allocations: 0.589 MB / 1.934 GB, free: 33.39 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/4.766, allocations: 318.5 kB / 1.934 GB, free: 33.08 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/4.768, allocations: 1.274 MB / 1.935 GB, free: 31.53 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/4.768, allocations: 43.11 kB / 1.936 GB, free: 31.48 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 3.717e-06/4.768, allocations: 3.938 kB / 1.936 GB, free: 31.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.004756/4.773, allocations: 0.9395 MB / 1.936 GB, free: 30.53 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/4.773, allocations: 115.4 kB / 1.937 GB, free: 30.39 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/4.775, allocations: 0.9549 MB / 1.938 GB, free: 29.42 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/4.775, allocations: 33.7 kB / 1.938 GB, free: 29.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/4.776, allocations: 0.7096 MB / 1.938 GB, free: 28.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/4.776, allocations: 224.7 kB / 1.938 GB, free: 28.44 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/4.776, allocations: 0 / 1.938 GB, free: 28.44 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/4.776, allocations: 337.9 kB / 1.939 GB, free: 28.11 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008012/4.777, allocations: 302.6 kB / 1.939 GB, free: 27.81 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009586/4.778, allocations: 0.5864 MB / 1.94 GB, free: 27.11 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/4.781, allocations: 489.7 kB / 1.94 GB, free: 26.63 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/4.781, allocations: 4 kB / 1.94 GB, free: 26.63 MB / 0.9323 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005389/4.787, allocations: 1.185 MB / 1.941 GB, free: 25.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005028/4.787, allocations: 2.47 MB / 1.944 GB, free: 22.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/4.787, allocations: 4 kB / 1.944 GB, free: 22.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/4.789, allocations: 440.6 kB / 1.944 GB, free: 22.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/4.792, allocations: 243.6 kB / 1.944 GB, free: 22.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/4.794, allocations: 1.139 MB / 1.945 GB, free: 20.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/4.798, allocations: 223 kB / 1.946 GB, free: 20.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/4.799, allocations: 56 kB / 1.946 GB, free: 20.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/4.799, allocations: 4 kB / 1.946 GB, free: 20.67 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004755/4.804, allocations: 1.041 MB / 1.947 GB, free: 19.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/4.804, allocations: 4.781 kB / 1.947 GB, free: 19.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/4.805, allocations: 452.6 kB / 1.947 GB, free: 19.17 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/4.808, allocations: 239.7 kB / 1.947 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/4.81, allocations: 1.131 MB / 1.948 GB, free: 17.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/4.814, allocations: 191.2 kB / 1.949 GB, free: 17.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/4.814, allocations: 55.95 kB / 1.949 GB, free: 17.54 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003899/4.815, allocations: 132.5 kB / 1.949 GB, free: 17.4 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004595/4.819, allocations: 0.9356 MB / 1.95 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/4.82, allocations: 122.5 kB / 1.95 GB, free: 16.34 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007997/4.828, allocations: 1.121 MB / 1.951 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/4.828, allocations: 15.98 kB / 1.951 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/4.828, allocations: 0 / 1.951 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007149/4.835, allocations: 1.018 MB / 1.952 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/4.846, allocations: 3.01 MB / 1.955 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/4.846, allocations: 4.438 kB / 1.955 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/4.848, allocations: 151.8 kB / 1.955 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/4.849, allocations: 444.8 kB / 1.955 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/4.849, allocations: 19.97 kB / 1.956 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/4.851, allocations: 1.119 MB / 1.957 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/4.852, allocations: 7.938 kB / 1.957 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/4.856, allocations: 1.347 MB / 1.958 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/4.858, allocations: 367.2 kB / 1.958 GB, free: 7.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/4.858, allocations: 7.984 kB / 1.958 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003597/4.862, allocations: 131.8 kB / 1.958 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/4.862, allocations: 56.25 kB / 1.958 GB, free: 7.125 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/4.862, allocations: 43.95 kB / 1.959 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001582/4.864, allocations: 0.7329 MB / 1.959 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.31e-07/4.864, allocations: 4 kB / 1.959 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004771/4.868, allocations: 0.978 MB / 1.96 GB, free: 5.359 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007291/4.876, allocations: 3.613 MB / 1.964 GB, free: 1.621 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003993/4.88, allocations: 1.296 MB / 1.965 GB, free: 336 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/4.88, allocations: 0 / 1.965 GB, free: 336 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.669/5.549, allocations: 373.8 kB / 1.965 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/5.554, allocations: 0.5803 MB / 1.966 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/5.565, allocations: 2.16 MB / 1.968 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/5.567, allocations: 1.242 MB / 1.969 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00373/5.57, allocations: 372.2 kB / 1.97 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/5.572, allocations: 0.5148 MB / 1.97 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.072e-06/5.572, allocations: 0.6875 kB / 1.97 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/5.759, allocations: 46.55 MB / 2.016 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/5.759, allocations: 179.3 kB / 2.016 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.706/10.47, allocations: 0 / 2.016 GB, free: 160.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)