Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001322/0.001323, allocations: 176.8 kB / 366.7 MB, free: 1.664 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.725/1.725, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008402/0.0008403, allocations: 91.5 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.449e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7519, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/2.07, allocations: 422.8 MB / 1.386 GB, free: 134 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/2.071, allocations: 95.06 kB / 1.386 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.935/4.006, allocations: 0.5446 GB / 1.931 GB, free: 61.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/4.006, allocations: 3.938 kB / 1.931 GB, free: 61.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001591/4.006, allocations: 47.98 kB / 1.931 GB, free: 61.69 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004051/4.011, allocations: 1.821 MB / 1.933 GB, free: 59.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/4.011, allocations: 8.031 kB / 1.933 GB, free: 59.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/4.015, allocations: 0.673 MB / 1.933 GB, free: 59.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/4.019, allocations: 1.778 MB / 1.935 GB, free: 57.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/4.019, allocations: 84.02 kB / 1.935 GB, free: 57.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/4.019, allocations: 75.94 kB / 1.935 GB, free: 57.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/4.021, allocations: 1.032 MB / 1.936 GB, free: 56.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/4.023, allocations: 1.279 MB / 1.938 GB, free: 54.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/4.023, allocations: 8 kB / 1.938 GB, free: 54.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/4.023, allocations: 0 / 1.938 GB, free: 54.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/4.023, allocations: 32 kB / 1.938 GB, free: 54.68 MB / 0.948 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.009467/4.033, allocations: 6.523 MB / 1.944 GB, free: 47.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/4.034, allocations: 0.5124 MB / 1.945 GB, free: 47.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/4.034, allocations: 328.5 kB / 1.945 GB, free: 47.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/4.035, allocations: 1.267 MB / 1.946 GB, free: 45.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/4.036, allocations: 51.06 kB / 1.946 GB, free: 45.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 5.621e-06/4.036, allocations: 0 / 1.946 GB, free: 45.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.01081/4.046, allocations: 1.513 MB / 1.948 GB, free: 43.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/4.046, allocations: 115.4 kB / 1.948 GB, free: 43.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/4.048, allocations: 0.9705 MB / 1.949 GB, free: 42.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003059/4.049, allocations: 29.7 kB / 1.949 GB, free: 42.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/4.049, allocations: 0.7172 MB / 1.949 GB, free: 42.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/4.049, allocations: 216.7 kB / 1.95 GB, free: 41.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/4.049, allocations: 0 / 1.95 GB, free: 41.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/4.05, allocations: 338 kB / 1.95 GB, free: 41.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/4.05, allocations: 314.5 kB / 1.95 GB, free: 41.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/4.051, allocations: 0.5818 MB / 1.951 GB, free: 40.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/4.053, allocations: 0.4964 MB / 1.951 GB, free: 39.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/4.053, allocations: 4 kB / 1.951 GB, free: 39.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01073/4.063, allocations: 1.764 MB / 1.953 GB, free: 38.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006544/4.064, allocations: 2.453 MB / 1.955 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/4.064, allocations: 8 kB / 1.955 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/4.065, allocations: 361.9 kB / 1.956 GB, free: 35.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/4.066, allocations: 255.6 kB / 1.956 GB, free: 34.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/4.068, allocations: 0.957 MB / 1.957 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/4.07, allocations: 231 kB / 1.957 GB, free: 33.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/4.071, allocations: 51.95 kB / 1.957 GB, free: 33.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/4.071, allocations: 4 kB / 1.957 GB, free: 33.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/4.081, allocations: 1.604 MB / 1.959 GB, free: 32.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/4.081, allocations: 12.03 kB / 1.959 GB, free: 32.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/4.082, allocations: 356.7 kB / 1.959 GB, free: 31.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/4.083, allocations: 247.8 kB / 1.959 GB, free: 31.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/4.084, allocations: 0.9595 MB / 1.96 GB, free: 30.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/4.087, allocations: 199.2 kB / 1.96 GB, free: 30.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/4.088, allocations: 59.94 kB / 1.961 GB, free: 30.23 MB / 0.948 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 (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005218/4.088, allocations: 120.8 kB / 1.961 GB, free: 30.11 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01116/4.099, allocations: 1.505 MB / 1.962 GB, free: 28.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000784/4.1, allocations: 126.5 kB / 1.962 GB, free: 28.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/4.104, allocations: 1.004 MB / 1.963 GB, free: 27.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/4.104, allocations: 4 kB / 1.963 GB, free: 27.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/4.104, allocations: 4 kB / 1.963 GB, free: 27.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002008/4.106, allocations: 0.893 MB / 1.964 GB, free: 26.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005598/4.111, allocations: 2.602 MB / 1.967 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/4.111, allocations: 4 kB / 1.967 GB, free: 23.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/4.112, allocations: 152.3 kB / 1.967 GB, free: 23.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006741/4.113, allocations: 353.2 kB / 1.967 GB, free: 23.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/4.113, allocations: 19.97 kB / 1.967 GB, free: 23.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/4.114, allocations: 0.953 MB / 1.968 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/4.114, allocations: 7.938 kB / 1.968 GB, free: 22.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/4.117, allocations: 1.73 MB / 1.97 GB, free: 20.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/4.118, allocations: 375.3 kB / 1.97 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/4.118, allocations: 4 kB / 1.97 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/4.119, allocations: 131.7 kB / 1.97 GB, free: 19.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/4.119, allocations: 60.25 kB / 1.97 GB, free: 19.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/4.12, allocations: 43.95 kB / 1.97 GB, free: 19.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001021/4.121, allocations: 0.7368 MB / 1.971 GB, free: 19.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/4.121, allocations: 0 / 1.971 GB, free: 19.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003042/4.124, allocations: 0.974 MB / 1.972 GB, free: 18.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005207/4.129, allocations: 4.138 MB / 1.976 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002329/4.131, allocations: 1.264 MB / 1.977 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/4.131, allocations: 7.781 kB / 1.977 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/4.132, allocations: 373.9 kB / 1.978 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/4.134, allocations: 0.5779 MB / 1.978 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/4.14, allocations: 2.256 MB / 1.98 GB, free: 9.262 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/4.14, allocations: 1.235 MB / 1.982 GB, free: 7.996 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001915/4.142, allocations: 401.7 kB / 1.982 GB, free: 7.602 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/4.143, allocations: 0.5383 MB / 1.983 GB, free: 7.062 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/4.143, allocations: 4 kB / 1.983 GB, free: 7.059 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7939/4.937, allocations: 45.74 MB / 2.027 GB, free: 170.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/4.937, allocations: 183.3 kB / 2.027 GB, free: 170.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.659/8.596, allocations: 0 / 2.027 GB, free: 170.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)